Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
spaaai said:Just try this
samples=10000; %whatever number of samples you want
Z=rand(1,samples);
Z(find(Z<=0.25))=-1;
Z(find(Z>=0.75))=1;
Z(find(Z>=0.25&Z<0.5))=-j;
Z(find(Z>=0.5&Z<0.75))=j;