comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » variable value
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: variable value [message #87053 is a reply to message #87052] Tue, 31 December 2013 09:24 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Khris writes:

>
> Hi guys,
> please help me.
> When I range a number in gaussian distributions I use: Fo=abs(f+10*(randomn(seed,60))).
> But now I would to range Fo value between 0.5 and 1, but not as gaussian distribution. How can I do?

f0 = cgScaleVector(RandomU(seed, 60), 0.5, 1.0)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Label orientation
Next Topic: closed contour paths: clockwise or anticlockwise - or actually a mixture?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 21:36:41 PDT 2025

Total time taken to generate the page: 0.24094 seconds