Plotting Multivariable function poltting

 Respuesta aceptada

Ege Keskin
Ege Keskin el 3 de Feb. de 2019
[X,Y] = meshgrid(1:.2:10);
Z =(X*Y) / (X^2 + Y^2);
surf(X,Y,Z)
You should avoid including 0 within the grid boundary since it creates a singularity.
Also read about;
https://www.mathworks.com/help/matlab/learn_matlab/plots.html

Más respuestas (2)

Dirk Herschberger
Dirk Herschberger el 17 de Sept. de 2020

0 votos

[X,Y] = meshgrid(1:.2:10);
Z =(X*Y) / (X^2 + Y^2);
surf(X,Y,Z)
MORAM
MORAM el 20 de Oct. de 2023

0 votos

[X,Y] = meshgrid(1:.2:10);
Z =(X*Y) / (X^2 + Y^2);
surf(X,Y,Z)

Categorías

Más información sobre 2-D and 3-D Plots en Centro de ayuda y File Exchange.

Preguntada:

el 3 de Feb. de 2019

Respondida:

el 20 de Oct. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by