The phase of the fft is inverted

3 ビュー (過去 30 日間)
Carlota Trigo
Carlota Trigo 2022 年 6 月 3 日
コメント済み: David Goodmanson 2022 年 6 月 4 日
Hello!
I am obtaining the frf function of a signal by using th espectral densities in MATLAB. The magnitude of my frf seems fine, however, the phase is inverted in the sense that it should be ranging from 0 to -pi. Any help of what could be going on?
This is what I am getting:
And this is what I was expecting:
Thank you very much!!
  2 件のコメント
Bjorn Gustavsson
Bjorn Gustavsson 2022 年 6 月 3 日
Have you checked the sign and amplitude-conventions used by matlab and your reference source. This smells like that type of "error" - you think you've calculated the phase difference between signals y1 and y2 when what matlab gives you the phase-difference between y2 and y1.
David Goodmanson
David Goodmanson 2022 年 6 月 4 日
Hi Carlota,
how, in terms of functions, are you calculating the frf?
You state that phase should be varying from 0 to -pi, but in the expected answer the phase is varying from pi to -pi. Could you comment?

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeSpectral Measurements についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by