How to combine multiple functions/lines/arcs in only one?
8 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
ErikJon Pérez Mardaras
am 30 Okt. 2020
Bearbeitet: ErikJon Pérez Mardaras
am 2 Nov. 2020
I have drawn the following arc (drawn in pink)
Using and putting one next to another the following arcs (each one with different xp,yp,radius and centre values of course)
teta = linspace(rangini,rangfin);
xco = centre(1)+radius*cos(teta);
yco = centre(2)+radius*sin(teta);
plot(xco,yco,'m');
There is any form of uniting those arcs in only one function so I could work with it more easily in further code/programm?
4 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu 2-D and 3-D Plots 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!