Normally Distributed Random Matrix
- To: mathgroup at smc.vnet.net
- Subject: [mg77537] Normally Distributed Random Matrix
- From: "amitsoni.1984 at gmail.com" <amitsoni.1984 at gmail.com>
- Date: Tue, 12 Jun 2007 01:24:25 -0400 (EDT)
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