How can I draw a complex contour?

I think this line is the problem
[DH1,h1]=Real(contour(y,x,psi1,10,'-k'));

Answers (1)

[DH1,h1]=(contour(y,x,real(psi1),10,'-k'));

4 Comments

madhan ravi
madhan ravi on 13 Jul 2020
Edited: madhan ravi on 13 Jul 2020
Yes, it doesn’t ignore the complex part like the other plot functions so q call to real() is imminent.
Yes, thanks madhan but I want to draw the total function real and imagine parts.
Thanks so much

Sign in to comment.

Categories

Find more on Mathematics and Optimization in Help Center and File Exchange

Asked:

on 13 Jul 2020

Commented:

on 14 Jul 2020

Community Treasure Hunt

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

Start Hunting!