How can I draw a complex contour?
Afficher commentaires plus anciens
I think this line is the problem
[DH1,h1]=Real(contour(y,x,psi1,10,'-k'));
Réponses (1)
Takumi
le 13 Juil 2020
[DH1,h1]=(contour(y,x,real(psi1),10,'-k'));
4 commentaires
madhan ravi
le 13 Juil 2020
Modifié(e) : madhan ravi
le 13 Juil 2020
Yes, it doesn’t ignore the complex part like the other plot functions so q call to real() is imminent.
Shreen El-Sapa
le 14 Juil 2020
madhan ravi
le 14 Juil 2020
doc real
doc imag
Shreen El-Sapa
le 14 Juil 2020
Catégories
En savoir plus sur Stair Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!