| Author |
Comment/Response |
George
|
06/20/03 2:33pm
Hi,
I am running into the following difficulty :
I need to create a big matrix which consists of 0's and a smaller one which [consists of 1's] in turn is in the middle of the bigger matrix.
My approach:
Table [Floor[Random[]],{n},{n}] ; *This denotes the big matrix which consists of 0's*
Now I am looking for an elegant way to superimpose the smaller matrix consisting of 1's onto the bigger one so that it is centered around the middle on the bigger matrix.
Thank you,
George
URL: , |
|