フィルターのクリア

Draw circle with given data.

2 ビュー (過去 30 日間)
Mrinal
Mrinal 2013 年 8 月 6 日
I am new to Matlab and want to draw a circle with radius r and circumference circ = 2*pi*r*r . Is it possible. Thanking you.
Regards, Mrinal

採用された回答

David Sanchez
David Sanchez 2013 年 8 月 6 日
t=0:.1:2*pi;
radius = 3;
x=radius*cos(t);
y=radius*sin(t);
plot(x,y)
axis square
  2 件のコメント
Mrinal
Mrinal 2013 年 8 月 6 日
Thnx David. But can i use the circumference formula to draw a circle.
Sathish Kumar
Sathish Kumar 2013 年 8 月 6 日
Just find the radius from circumference using r=circumference/(2*pi); and proceed as said by David

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by