- #1
strokebow
- 123
- 0
Okay... I am using the randn function for a sequence of normally distributed numbers.
I am writing a program whereby I need to use this randn to give me random x and y values whose position r is less than 1
i.e. that is to say that all points fall within a 2 x 2 square centred at (0, 0).
And I MUST use randn
Can anyone help me achieve this.
thanks
I am writing a program whereby I need to use this randn to give me random x and y values whose position r is less than 1
i.e. that is to say that all points fall within a 2 x 2 square centred at (0, 0).
And I MUST use randn
Can anyone help me achieve this.
thanks