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

2 visualizzazioni (ultimi 30 giorni)
Nguyen Phuoc
Nguyen Phuoc il 28 Giu 2020
Modificato: VBBV il 24 Gen 2025
How do I plot this function on 3D graph?
Thank you

Risposte (2)

madhan ravi
madhan ravi il 28 Giu 2020
doc fimplicit
  5 Commenti
Nguyen Phuoc
Nguyen Phuoc il 28 Giu 2020
Modificato: Nguyen Phuoc il 28 Giu 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 il 28 Giu 2020
Read my original answer.

Accedi per commentare.


VBBV
VBBV il 24 Gen 2025
Modificato: VBBV il 24 Gen 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