Filter löschen
Filter löschen

How to plot complex function of two variables?

5 Ansichten (letzte 30 Tage)
priya anjali
priya anjali am 8 Jun. 2021
Kommentiert: priya anjali am 8 Jun. 2021
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.

Akzeptierte Antwort

KSSV
KSSV am 8 Jun. 2021
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 Kommentar
priya anjali
priya anjali am 8 Jun. 2021
Do you know the type of this graph?
Like nature(soliton, parabolic, or any other)

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Produkte


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by