Draw circle with given data.
2 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
采纳的回答
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 个评论
Sathish Kumar
2013-8-6
Just find the radius from circumference using r=circumference/(2*pi); and proceed as said by David
更多回答(0 个)
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!