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!