フィルターのクリア

How to generate this pin wheel by code or Equation

3 ビュー (過去 30 日間)
z cy
z cy 2020 年 7 月 31 日
コメント済み: z cy 2020 年 8 月 5 日
I don't know how to generate this pin wheel by code or Equation. Can someone help me?

採用された回答

Peter Orthmann
Peter Orthmann 2020 年 7 月 31 日
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
  2 件のコメント
z cy
z cy 2020 年 8 月 5 日
Thanks!
z cy
z cy 2020 年 8 月 5 日
I dont know why I cannot accept ur answer.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCode Generation についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by