Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: random vector
Date: Tue, 31 Jan 2012 01:06:10 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 7
Message-ID: <jg7eq1$3e2$1@newscl01ah.mathworks.com>
References: <jg7cmj$r3i$1@newscl01ah.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: www-00-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1327971970 3522 172.30.248.45 (31 Jan 2012 01:06:10 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 31 Jan 2012 01:06:10 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1187260
Xref: news.mathworks.com comp.soft-sys.matlab:756220

"James " <tothe1234@yahoo.com> wrote in message <jg7cmj$r3i$1@newscl01ah.mathworks.com>...
> creating a row vector z containing 10 values and each of is a random real number in the
> interval [1.6, 3.6].
- - - - - - - - - -
 z = a + (b-a)*rand(1,n);

Roger Stafford