How to plot an arc shaped figure?
古いコメントを表示
I would like to know how to plot something similar to the picture here in below. As we can see, the plot is on an arc of a circle.

回答 (2 件)
darova
2020 年 5 月 14 日
Try this
t = linspace(0,pi,500);
x = cos(t).*(1 + 0.1*cos(30*t) + 0.05*sin(100*t));
y = sin(t).*(1 + 0.1*cos(30*t) + 0.05*sin(100*t));
plot(x,y)
axis equal

2 件のコメント
Milad Izadi
2020 年 5 月 14 日
darova
2020 年 5 月 14 日
I don't understand. Can you show? Simple sketch?
カテゴリ
ヘルプ センター および File Exchange で Line Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!