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

2 Ansichten (letzte 30 Tage)
Qiu Xu
Qiu Xu am 21 Jan. 2022
Kommentiert: Qiu Xu am 22 Jan. 2022
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.

Akzeptierte Antwort

Cris LaPierre
Cris LaPierre am 22 Jan. 2022

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by