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

3 ビュー (過去 30 日間)
Nguyen Phuoc
Nguyen Phuoc 2020 年 6 月 28 日
編集済み: VBBV 2025 年 1 月 24 日
How do I plot this function on 3D graph?
Thank you

回答 (2 件)

madhan ravi
madhan ravi 2020 年 6 月 28 日
doc fimplicit
  5 件のコメント
Nguyen Phuoc
Nguyen Phuoc 2020 年 6 月 28 日
編集済み: Nguyen Phuoc 2020 年 6 月 28 日
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 2020 年 6 月 28 日
Read my original answer.

サインインしてコメントする。


VBBV
VBBV 2025 年 1 月 24 日
編集済み: VBBV 2025 年 1 月 24 日
@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])

カテゴリ

Help Center および File ExchangeSurface and Mesh Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by