How to plot complex function of two variables?

3 vues (au cours des 30 derniers jours)
priya anjali
priya anjali le 8 Juin 2021
Commenté : priya anjali le 8 Juin 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.

Réponse acceptée

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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Produits


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by