Date: Mar 13, 2013 10:35 AM
Author: Curious
Subject: Re: Generate non integer number

"max200790" wrote in message <khq12l$1kc$1@newscl01ah.mathworks.com>...
> Hi,
> I would know how I can generate a non integer number with the function randi without utilizing a division or multiplication.
>
> Maybe we know another function which only specifying the interval give the random value as:
>
> Amin=0
> Amax=5
> A=......([Amin,Amax])
>
>
> A=1.954
>


This may skirt the issue, but you could use something like SQRT, EXP, some trig function, or any combination of them perhaps.
> Thanks
>
>