How to plot a semi-circle?
5 ビュー (過去 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!