Re: making random matrix

*To*: mathgroup at smc.vnet.net*Subject*: [mg70605] Re: [mg70583] making random matrix*From*: Bob Hanlon <hanlonr at cox.net>*Date*: Sat, 21 Oct 2006 05:13:42 -0400 (EDT)*Reply-to*: hanlonr at cox.net

Needs["Statistics`"]; NormalDistribution[ ] defaults to NormalDistribution[0, 1] #[NormalDistribution[ ]]& /@ {Mean, StandardDeviation} {0,1} n=100 ; A = RandomArray[NormalDistribution[], {n, n}]; #[Flatten[A]]& /@ {Mean, StandardDeviation} {0.00534244,1.00117} Bob Hanlon ---- "amitsoni.1984 at gmail.com" <amitsoni.1984 at gmail.com> wrote: > Hi, I want to make a normally distributed random matrix for which I am > using the following command. But it is not giving any result. > > n=100 > A = RandomArray[NormalDistribution[], {n, n}] > > Do I need to load any package to get this working. Please tell me how > to do that? > > Thanks > > Amit > -- Bob Hanlon hanlonr at cox.net