
Re: Matrix variable with parametric elements
Posted:
Dec 26, 2012 7:26 AM


On 12/26/2012 5:51 AM, Michael Doukas wrote: > Hello everybody, > > I am fairly new to Matlab so please, if you can, reply as plain as possible. > > I want to create a 40X9 matrix and store it as a variable, but the matrix elements must be "parametric", meaning that i want the elements of the: > first column to take random integer values in the range 0:2 (i.e. integers 0 or 1 or 2), > second column to take random integer values in the range 3:6 (i.e. 3 or 4 or 5 or 6), > ... > ninth column to take random integer values within the range 56:67 (i.e. 56 or 57...67) > > Please let me know in case you want me to further explain my problem. > > Thanks, > Mike >
How did you get that columns 9 will have 56:67? I think it should be 52:62

