MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: making random matrix

  • To: mathgroup at
  • Subject: [mg70593] Re: making random matrix
  • From: Jean-Marc Gulliet <jeanmarc.gulliet at>
  • Date: Sat, 21 Oct 2006 05:13:23 -0400 (EDT)
  • Organization: The Open University, Milton Keynes, UK
  • References: <eha5d4$b5p$>

amitsoni.1984 at 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

Yes, first, you must load the package:

  Module[ {ndist},
  ndist = NormalDistribution[ 0, 1];
  With[ { n=100},
  mat= RandomArray[ ndist, { n,n}]


  • Prev by Date: Re: "short circuiting" And and Or
  • Next by Date: Re: Problem in loading packages in Mathematica
  • Previous by thread: Re: making random matrix
  • Next by thread: Re: making random matrix