Path: news.mathworks.com!not-for-mail
From: "Chelsea " <brass4all@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: vector of random unifromly spaced numbers on a given interval
Date: Wed, 18 Jan 2012 19:12:10 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 3
Message-ID: <jf75ia$oc4$1@newscl01ah.mathworks.com>
Reply-To: "Chelsea " <brass4all@gmail.com>
NNTP-Posting-Host: www-05-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1326913930 24964 172.30.248.37 (18 Jan 2012 19:12:10 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 18 Jan 2012 19:12:10 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 3244031
Xref: news.mathworks.com comp.soft-sys.matlab:755064

Hello, I have to create a vector of given length that is made up of randomly generated, uniformly spaced numbers from 2 to 9. How would I go about doing this? I can only use one line to do so :/ Please help

Thank you!