How can I draw a circle in matlab using parametric ecuations or the circle ecuation?
16 次查看(过去 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 个评论
另请参阅
类别
在 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!