How can I draw a circle in matlab using parametric ecuations or the circle ecuation?
5 ビュー (過去 30 日間)
古いコメントを表示
I'm new to matlab and I wanted to know
0 件のコメント
回答 (3 件)
Salaheddin Hosseinzadeh
2014 年 3 月 12 日
That's one simple way you can do it
x= sin(0:.01:2*pi);
y= cos(0:.01:2*pi);
plot(x,y);
axis equal
also try below, but you probably gonna get some warnings! lol
f=@(x,y) x^2+y^2-25
ezplot(f)
axis equal
Good Luck!
0 件のコメント
mohit kumar veeraboina
2020 年 8 月 20 日
>> t=-pi:0.01:pi;
>> y=sin(t);
>> x=cos(t);
>> plot(x,y)
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Surface and Mesh Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!