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

Home » Public Forums » archive » idl bimodal distribution
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
idl bimodal distribution [message #73565] Fri, 19 November 2010 10:14
Giuseppe Papa is currently offline  Giuseppe Papa
Messages: 27
Registered: February 2010
Junior Member
I'm trying to simulate a bimodal "randomn" distribution with the 2 peaks having the sigmas of 0.3 each for example and mean around -1.2 and -0.7...
Do you have any tips?

I've tried adding these below, but it doesn't work..., I get a unimodal distribution...
met_1a = randomn(seed,100000)*0.3-1.2
met_1b = randomn(seed,100000)*0.3-0.7

Can someone help?
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Unable to allocate memory
Next Topic: Re: 8.0.1 patch question: !version.release

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

Current Time: Wed Oct 08 13:35:49 PDT 2025

Total time taken to generate the page: 0.00469 seconds