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일
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

Do you know the type of this graph?
Like nature(soliton, parabolic, or any other)

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 2-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