How to specify a domain of x and y values for a graph?
140 次查看(过去 30 天)
显示 更早的评论
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
采纳的回答
John D'Errico
2023-3-22
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Surface and Mesh Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!