How to plot an arc shaped figure?
Afficher commentaires plus anciens
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.

Réponses (2)
darova
le 14 Mai 2020
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 commentaires
Milad Izadi
le 14 Mai 2020
darova
le 14 Mai 2020
I don't understand. Can you show? Simple sketch?
Milad Izadi
le 16 Mai 2020
0 votes
Catégories
En savoir plus sur Line Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!