Akzeptierte Antwort

Ege Keskin
Ege Keskin am 3 Feb. 2019

1 Stimme

[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

Weitere Antworten (2)

Dirk Herschberger
Dirk Herschberger am 17 Sep. 2020

0 Stimmen

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

0 Stimmen

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

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by