Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


how to generate random data (dichotomous 0-1) with normal distrubition

patito1982patito1982 Member Posts: 2
I am a measurement and evaluation student and I want to generate [10000,10] random data with matlab. But these data includes only 0 and 1 and has a normal distrubition. First I used [b]binornd[/b] function, but the data I generated did not have normal distrubition. Then I used [b]normrnd[/b] function, but the data had decimal points and some of them are negative. Please help me...
Sign In or Register to comment.