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.
doc real
doc imag
Shreen El-Sapa
Shreen El-Sapa 2020년 7월 14일
Thanks so much

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Purple에 대해 자세히 알아보기

질문:

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