How to plot the 2d complex function with amplitude and phase

조회 수: 4 (최근 30일)
Qiu Xu
Qiu Xu 2022년 1월 21일
댓글: Qiu Xu 2022년 1월 22일
I have a 2d complex function as follows
psi=sqrt(x^2+y^2)*exp(-(x^2+y^2)/16)*exp(i*atan2(y,x));
How to realize the following figure by using Matlab?
In this image, the color on the ring presents the changes of phase of the function from small to big.

채택된 답변

Cris LaPierre
Cris LaPierre 2022년 1월 22일

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by