How to plot a semi-circle?
12 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Casey
am 6 Feb. 2012
Kommentiert: Elisabetta Di Franco
am 26 Jul. 2022
How to plot a semi-circle and if I want just the curve of of the semi-circle and the radius of the circle is 500m?
Thanks
0 Kommentare
Akzeptierte Antwort
Wayne King
am 6 Feb. 2012
theta = 0:.01:pi;
y = 500*exp(1j*theta);
plot(real(y),imag(y));
axis([-750 750 -750 750]);
grid on;
4 Kommentare
Elisabetta Di Franco
am 26 Jul. 2022
This is very useful. I tried this but the semicircle is upsidedown and shifted. How can I change the code?
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!