From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Matrix variable with parametric elements
Date: Wed, 26 Dec 2012 06:26:03 -0600
Organization: NNTP Server
Lines: 21
Message-ID: <kbeqd7$r15$>
References: <kbeobb$kf2$>
Reply-To: <HIDDEN>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0
X-Notice: Filtered by postfilter v. 0.8.2
Xref: comp.soft-sys.matlab:785409

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