HOW TO ELIMINATE PHASE DIFFERENCE BETWEEN TWO SIGNALS?

6 ビュー (過去 30 日間)
james wakama
james wakama 2018 年 8 月 6 日
コメント済み: Serien Ahmed 2021 年 9 月 17 日
Hello all,
I have a problem with removing phase difference between my signals. What i am trying to do is:
Create an angle function Differentiate twice to obtain acceleration Integrate acceleration twice to obtain a position Compare the new position with the initial angle
When compared, there's a phase difference between both signals. I have tried fftshift also, adding a phase shift to the signal to overcome the phase difference but not worked.
I am hoping someone can assist in overcoming the problem. Thank you for your help in advance
  1 件のコメント
Serien Ahmed
Serien Ahmed 2021 年 9 月 17 日
Dear james,
If you solved it, let me know how,,, I am facing the same

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

採用された回答

KALYAN ACHARJYA
KALYAN ACHARJYA 2018 年 8 月 6 日
編集済み: KALYAN ACHARJYA 2018 年 8 月 6 日
Use the technique called cross-correlation. Here from @dpb Link
Also here
  3 件のコメント
james wakama
james wakama 2018 年 8 月 7 日
Thanks, I am still trying to understand it as I am new to MATLAB.
james wakama
james wakama 2018 年 8 月 7 日
Hi Kalyan, thanks for the link. The link to the code example sent is to check the error between two out-of-phase signals however I am looking to correct and remove the phase shift so both signals correlate. Please, can you refer to my code attached? Thanks

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAudio I/O and Waveform Generation についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by