RE: Random Matrix of Integers
- To: mathgroup at smc.vnet.net
- Subject: [mg48561] RE: [mg48544] Random Matrix of Integers
- From: "David Park" <djmp at earthlink.net>
- Date: Sat, 5 Jun 2004 07:19:02 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Bruce, Do you mean... Array[Random[Integer, {2, 9}] &, {4, 4}] David Park djmp at earthlink.net http://home.earthlink.net/~djmp/ From: Bruce W. Colletti [mailto:bcolletti at compuserve.com] To: mathgroup at smc.vnet.net 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