How can I draw a circle in matlab using parametric ecuations or the circle ecuation?
Mostrar comentarios más antiguos
I'm new to matlab and I wanted to know
Respuestas (3)
Carlos
el 12 de Mzo. de 2014
>> t=-pi:0.01:pi;
>> y=sin(t);
>> x=cos(t);
>> plot(x,y)
Salaheddin Hosseinzadeh
el 12 de Mzo. de 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!
mohit kumar veeraboina
el 20 de Ag. de 2020
0 votos
>> t=-pi:0.01:pi;
>> y=sin(t);
>> x=cos(t);
>> plot(x,y)
Categorías
Más información sobre Logical en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!