Results 1 to 2 of 2

Math Help - Genarating random coordinates using normrnd

  1. #1
    Newbie
    Joined
    Apr 2010
    Posts
    3

    Genarating random coordinates using normrnd

    How do I use nrmrnd to generate random coordinates x and y such that x is greater than or equals to -pi/2 and less than or equal to pi/2. And y is greater than or equal to 0 and less than or equals to 2?
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Moo
    Moo is offline
    A Cute Angle Moo's Avatar
    Joined
    Mar 2008
    From
    P(I'm here)=1/3, P(I'm there)=t+1/3
    Posts
    5,618
    Thanks
    6
    Hello,

    What's the point of taking random coordinates in a normal distribution if you're limited to these intervals ?
    Can't you take random coordinates from a uniform distribution ?

    I see this is matlab language... If you want them from a normal distribution then just use a while loop, or an if...
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Replies: 1
    Last Post: March 28th 2011, 10:40 PM
  2. Generate random X Y Coordinates within a square/rectangle
    Posted in the Advanced Statistics Forum
    Replies: 3
    Last Post: December 17th 2010, 04:43 AM
  3. Replies: 10
    Last Post: September 24th 2010, 04:33 AM
  4. Covert Cartesian coordinates eq. into Cylindrical coordinates
    Posted in the Differential Geometry Forum
    Replies: 0
    Last Post: August 6th 2010, 06:56 AM
  5. Replies: 6
    Last Post: February 4th 2009, 12:12 AM

Search Tags


/mathhelpforum @mathhelpforum