How to generate this pin wheel by code or Equation
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
z cy
am 31 Jul. 2020
Kommentiert: z cy
am 5 Aug. 2020
I don't know how to generate this pin wheel by code or Equation. Can someone help me?

0 Kommentare
Akzeptierte Antwort
Peter Orthmann
am 31 Jul. 2020
How about this:
% Pin Wheel
r = 0:100;
v = 2*pi*r/200; % fit
n = 5;
m = 1; % fit
r0 = 0.5*max(r)^m; % fit
figure;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
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu MATLAB Coder finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!