MATLAB: How to generate this pin wheel by code or EquationMATLABtoydataI don't know how to generate this pin wheel by code or Equation. Can someone help me? Best AnswerHow about this:% Pin Wheelr = 0:100;v = 2*pi*r/200; % fitn = 5;m = 1; % fitr0 = 0.5*max(r)^m; % fitfigure;hold on;plot(0,0,'o');for ii=1:n plot(r.^m.*sin(v+2*pi*(ii-1)/n)/r0, r.^m.*cos(v+2*pi*(ii-1)/n)/r0);end
Best Answer