Why the figure of the phase discontinuous?

13 ビュー (過去 30 日間)
Aisha Mohamed
Aisha Mohamed 2022 年 8 月 21 日
コメント済み: Star Strider 2022 年 8 月 22 日
I ploted these function by MATLAB
p=[ ( 0.9000 - 0.0010i) (0.4243 + 0.0017i) (0.1000 + 0.3000i) ]; %this function denoted by (f_k(z)).
p1=[(0.9000 + 0.0010i) (0.2121 - 0.0008i) (0.1000 - 0.3000i) (0)] ; %this function denoted by (f_b(1/z)).
As you can see from the following figures:
In the first figure I ploted the phase of the function, but it look likes discontinuous (some experts here explained that it is not discontinouos but it related to the period of the phase), but I am still confuse from this point, and to escape from this case, I ploted (in the second figure ) the cos(phase) which seems smooth. But I am still do not under stand Why the phase of these function seem as discontinus.
(If the reason related with the period of the phase) WHY the cos(phase) is smooth ,although the cos function also periodic function?
MYQUESTION IS
Why the figures of the phase in the first figure look like discontinuouse?
I would appreciate if someone could further elaborate an explanation regarding these cases.
THIS IS THE FIRST FIGURE
THIS IS THE SECOND FIGUR

採用された回答

Star Strider
Star Strider 2022 年 8 月 21 日
The phase is likely wrapped. Use the unwrap function to provide a continuous phase.
It may be necessary to experiment with it if you are using it on a matrix so use the third dimension argument as necessary. (I have only used it on a vector.)
  2 件のコメント
Aisha Mohamed
Aisha Mohamed 2022 年 8 月 22 日
Thanks Star
As I understood now (if I am correct), this discontinuouty hapened because the phase graph having jumps from +180 to -180 but the entire time when we move from right to left across the plane of the phase, we get more and mor shifts. So we have to use unwarp function to solve this problem.
My questions is
1-Is my explination correct?
2- how can I unwrap this phase?
Iwill appreciate any help
Star Strider
Star Strider 2022 年 8 月 22 日
My pleasure!
1. Essentially, although the unwrap function only works on radian phase angles, so unwrap it as radian angles first and then convert to degrees.
2. See the documentation on unwrap that I linked to earlier.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by