Draw circle with given data.
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Akzeptierte Antwort
David Sanchez
am 6 Aug. 2013
t=0:.1:2*pi;
radius = 3;
x=radius*cos(t);
y=radius*sin(t);
plot(x,y)
axis square
2 Kommentare
Sathish Kumar
am 6 Aug. 2013
Just find the radius from circumference using r=circumference/(2*pi); and proceed as said by David
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!