How to specify a domain of x and y values for a graph?
140 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Alec
el 22 de Mzo. de 2023
Respondida: John D'Errico
el 22 de Mzo. de 2023
I cant seem to get this to work
I am plotting a 3d graph, and I am told to graph it over the domain of
This is my code so far:
syms x y
f = y^2*(3/4)+y^3*(1/24)-y^4*(1/32)-x^2;
fsurf(f)
axis([-3 3 -3 3 -3 3])
rotate3d on
Respuesta aceptada
John D'Errico
el 22 de Mzo. de 2023
Did you read the help for fsurf? What does the second argument do?
help fsurf
syms x y
f = y^2*(3/4)+y^3*(1/24)-y^4*(1/32)-x^2;
fsurf(f,[-3,3,-6,6])
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Surface and Mesh Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!