How to plot a semi-circle?
6 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Wayne King
2012-2-6
theta = 0:.01:pi;
y = 500*exp(1j*theta);
plot(real(y),imag(y));
axis([-750 750 -750 750]);
grid on;
4 个评论
Elisabetta Di Franco
2022-7-26
This is very useful. I tried this but the semicircle is upsidedown and shifted. How can I change the code?
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Fit Postprocessing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!