How to graph a f(x,y) function?
75 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I took a Matlab course over the summer, and now have to graph a problem in calculus. I am rusty on my commands, so I'm not sure which one to use. I am trying to make a 3-d plot of a function f(x,y)=-(x^2-1)^2-(x^2y-x-1)^2. Do I have to open a function, or can I just use a command with a script?
0 comentarios
Respuestas (3)
Saikat Chakraborty
el 14 de Mayo de 2021
syms x y
f(x,y)=-(x^2-1)^2-(x^2y-x-1)^2
ezplot(f)
0 comentarios
Azzi Abdelmalek
el 7 de Oct. de 2014
x=0:0.1:10;
y=0:0.1:10;
z=-(x.^2-1).^2-(x.^2*y-x-1).^2
plot3(x,y,z)
Ver también
Categorías
Más información sobre Graph and Network Algorithms 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!