how could i plot x^2+(y-x^3/2)^2=1 ?

12 views (last 30 days)
Mohamed Ali
Mohamed Ali on 10 Jan 2023
Answered: Torsten on 10 Jan 2023
m=(x^2+(y-x^3/2)^2==1)
plot(m)
grid on

Answers (2)

Star Strider
Star Strider on 10 Jan 2023
Perhaps this —
syms x y
m(x,y) = (x^2+(y-x^3/2)^2-1);
figure
fimplicit(m, [-1 1 -1 1]*1.5)
grid
axis('equal')
xlabel('X')
ylabel('Y')
.

Torsten
Torsten on 10 Jan 2023
fun = @(x,y)x.^2+(y-x.^3/2).^2-1;
fimplicit(fun)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!