How can I draw a circle in matlab using parametric ecuations or the circle ecuation?
16 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I'm new to matlab and I wanted to know
0 Kommentare
Antworten (3)
Salaheddin Hosseinzadeh
am 12 Mär. 2014
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 Kommentare
mohit kumar veeraboina
am 20 Aug. 2020
>> t=-pi:0.01:pi;
>> y=sin(t);
>> x=cos(t);
>> plot(x,y)
0 Kommentare
Siehe auch
Kategorien
Mehr zu Surface and Mesh Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!