How can I draw a complex contour?

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

回答 (1 件)

Takumi
Takumi 2020 年 7 月 13 日

0 投票

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

4 件のコメント

madhan ravi
madhan ravi 2020 年 7 月 13 日
編集済み: madhan ravi 2020 年 7 月 13 日
Yes, it doesn’t ignore the complex part like the other plot functions so q call to real() is imminent.
Shreen El-Sapa
Shreen El-Sapa 2020 年 7 月 14 日
Yes, thanks madhan but I want to draw the total function real and imagine parts.
madhan ravi
madhan ravi 2020 年 7 月 14 日
doc real
doc imag
Shreen El-Sapa
Shreen El-Sapa 2020 年 7 月 14 日
Thanks so much

サインインしてコメントする。

カテゴリ

質問済み:

2020 年 7 月 13 日

コメント済み:

2020 年 7 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by