what the difference between the phase and arctan?

56 ビュー (過去 30 日間)
Aisha Mohamed
Aisha Mohamed 2022 年 10 月 1 日
コメント済み: Aisha Mohamed 2022 年 10 月 1 日
Hi all
When z=x+iy.
I know (if I am correct ) that tan^-1(y/x) = arctan(y/x) =atan(y/x) = atan2(y,x) we use these expression to find the angle (theta) that calculateing from the positive real axis to the vector between the origen and the point z.
I am really confuse with the phase(z) , I read that
the phase(z)= arctan(y/x) whih the diference that ,
arctan takes values in ]−π/2,π/2[ while the phase is generally defined over ]−π,π].
Is this correct please?
I appriciate any help

採用された回答

Torsten
Torsten 2022 年 10 月 1 日
phase(z) = atan2(imag(z),real(z))
Read the documentation for atan2 to find the differences to the usual atan function:

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDigital Filter Analysis についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by