How to plot complex function of two variables?

How to plot complex function, in MATLAB like surface plot.
x and y are variable. Should I separately plot for positive sign and negative sign.

 採用された回答

KSSV
KSSV 2021 年 6 月 8 日

1 投票

x = linspace(0,1) ;
y = linspace(0,1) ;
[X,Y] = meshgrid(x,y) ;
Z = 1i/2*sqrt(X./Y) ;
surf(X,Y,abs(Z))
hold on
surf(X,Y,-abs(Z))

1 件のコメント

priya anjali
priya anjali 2021 年 6 月 8 日
Do you know the type of this graph?
Like nature(soliton, parabolic, or any other)

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange2-D and 3-D Plots についてさらに検索

製品

リリース

R2018b

質問済み:

2021 年 6 月 8 日

コメント済み:

2021 年 6 月 8 日

Community Treasure Hunt

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

Start Hunting!

Translated by