f(x,y)=(x^2+y^2)/x = 0

5 vues (au cours des 30 derniers jours)
Nguyen Phuoc
Nguyen Phuoc le 28 Juin 2020
Modifié(e) : VBBV le 24 Jan 2025
How do I plot this function on 3D graph?
Thank you

Réponses (2)

madhan ravi
madhan ravi le 28 Juin 2020
  5 commentaires
Nguyen Phuoc
Nguyen Phuoc le 28 Juin 2020
Modifié(e) : Nguyen Phuoc le 28 Juin 2020
fimplicit3 use to graph f(x,y,z)=0 in 3D but I have to draw f(x,y)=0 in 3D
madhan ravi
madhan ravi le 28 Juin 2020
Read my original answer.

Connectez-vous pour commenter.


VBBV
VBBV le 24 Jan 2025
Modifié(e) : VBBV le 24 Jan 2025
@Nguyen Phuoc use fsurf function or mesh function
% simple way
f = @(x,y) (x.^2 + y.^2)./x;
fsurf(f,[0,1])
% 2
x = linspace(0,1,100);
y = linspace(0,1,100);
[X,Y] = meshgrid(x,y);
mesh(X,Y,(X.^2+Y.^2)./X) % use a mesh
view([30,10])

Community Treasure Hunt

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

Start Hunting!

Translated by