% Just for fun, not really useful.... % @ http://scriptdemo.blogspot.com clear; close all; r=0.618; n=10000; re=sqrt(1-r*r); x=normrnd(0,1,n,1); y=x*r+normrnd(0,1,n,1)*re;y(x<0)=-y(x<0); plot(x,y,'o','markerEdgeColor',[1 0 1],'markerFaceColor','none'); axis equal tight off; set(gcf,'MenuBar','none','color','w') |
Thursday, February 14, 2013
[Matlab] show a normal random heart
Subscribe to:
Post Comments (Atom)
ShowCalendar
---- | ---- | ---- | ---- | | | | | | ---- | ---- | ---- | ---- | ---- | ---- | ---- | | ---- | | | | | | ---- | | | ---- | | | ---- | | | | | | ---- | | | | |
No comments:
Post a Comment