Re: Normally Distributed Random Matrix
- To: mathgroup at smc.vnet.net
- Subject: [mg77854] Re: Normally Distributed Random Matrix
- From: "amitsoni.1984 at gmail.com" <amitsoni.1984 at gmail.com>
- Date: Mon, 18 Jun 2007 07:01:59 -0400 (EDT)
- References: <f4lb7t$g0e$1@smc.vnet.net><f4on72$7uj$1@smc.vnet.net>
Thank you everyone, It started working by itself after i restarted it again 2-3 times. This has happened earlier as well. Don't know exactly what the problem is. Amit On Jun 13, 5:16 am, dh <d... at metrohm.ch> wrote: > Hi Amit, > > if you type A and get back: RandomArray[NormalDistribution[], {500, > > 500}], then clearly the command has not been executed. Either > > NormalDistribution or RandomArray or both are not defined. Check by > > "??NormalDistribution" and "??RandomArray" to be sure these are defined. > > Otherwise, I guess that "<< Statistics`NormalDistribution`" did not work. > > hope this helps, Daniel > > amitsoni.1... at gmail.com wrote: > > Hi, > > > I want to create a normally distributed random matrix in Mathematica. > > I'm using the following code in Mathematica 5.2: > > > ------------- code ----------------------------- > > << Statistics`NormalDistribution` > > n = 500; > > A = RandomArray[NormalDistribution[], {n, n}] > > ------------------------------------------------ > > > But it is not working even though it worked when I did it earlier on > > Linux. When I enter A it just gives: > > > ------------------------------------------------ > > A > > RandomArray[NormalDistribution[], {500, 500}] > > ------------------------------------------------ > > > Can anyone help me with this? > > > Thank you, > > Amit