This is where I am now at, for 200 numbers between -1 and +1
>> N=200;
>> min=-1;
>> max=+1;
>> range=max-min;
>> a=range*rand(N,2).*sign(rand(N,2))-range/2;
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!