From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Random number generation
Date: Sat, 14 Mar 2009 17:01:01 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 2
Message-ID: <gpgnsd$3kc$>
Reply-To: <HIDDEN>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: 1237050061 3724 (14 Mar 2009 17:01:01 GMT)
NNTP-Posting-Date: Sat, 14 Mar 2009 17:01:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 816492
Xref: comp.soft-sys.matlab:524883

Hi, everyone I'm new to Matlab and I need help...
I need to generate random number i bounds for example [-1, 50], and need to generate and floating number in bound but with some precision, for example 4 digits after point [-0.1236 125.1020]. I have to write function and when i pass precision and LB , RB to return vector with rand float numbers and have to write the same function but working with real numbers. Thanks... can some one help me ?