f(x,y)=(x^2+y^2)/x = 0
Afficher commentaires plus anciens
How do I plot this function on 3D graph?
Thank you
Réponses (2)
madhan ravi
le 28 Juin 2020
doc fimplicit
5 commentaires
Nguyen Phuoc
le 28 Juin 2020
Nguyen Phuoc
le 28 Juin 2020
madhan ravi
le 28 Juin 2020
doc fimplicit3
Nguyen Phuoc
le 28 Juin 2020
Modifié(e) : Nguyen Phuoc
le 28 Juin 2020
madhan ravi
le 28 Juin 2020
Read my original answer.
% 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])
Catégories
En savoir plus sur 2-D and 3-D Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

