MathGroup Archive 2004

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

Search the Archive

Re: Random Matrix of Integers


1 + RandomArray[DiscreteUniformDistribution[8], {4, 4}]

Bobby

On Fri, 4 Jun 2004 04:51:01 -0400 (EDT), Bruce W. Colletti <bcolletti at compuserve.com> wrote:

> To create a 4x4 matrix of random integers drawn from {2..9}, I use:
>
>     A = Table[Random[Integer, {2, 9}], {4}, {4}]
> How can I do this using RandomArray?  Thanks.
>
> Bruce
>
>



-- 
DrBob at bigfoot.com
www.eclecticdreams.net/index.html


  • Prev by Date: RE: Random Matrix of Integers
  • Next by Date: Re: Random Matrix of Integers
  • Previous by thread: Random Matrix of Integers
  • Next by thread: Re: Random Matrix of Integers