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?
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...