Phase in time between two signals in time domain

6 ビュー (過去 30 日間)
Giacomo Notaro
Giacomo Notaro 2019 年 10 月 1 日
コメント済み: Giacomo Notaro 2019 年 10 月 3 日
Hi all!
I have two signals in time domain, one is the input and the other is the output.
I compute the transfer function with "tfestimate" command and I use the command "angle" to get the phase in frequency domain.
Since the phase must be computed in a transitory I need the behaviour of that phase in time, because the frequency is not constant so I can't obtain the corresponding phase using the frequency domain.
What do you suggest to obtain the phase time behaviour between those two signals?
Thank you in advance
  2 件のコメント
Valentin Steininger
Valentin Steininger 2019 年 10 月 1 日
Hi,
You can use xcorr to compute the cross-correlation between the input and the output. When plotting the correlation over lags you can see the time-shift between both signals.
Giacomo Notaro
Giacomo Notaro 2019 年 10 月 3 日
Perfect, thank you!

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeCorrelation and Convolution についてさらに検索

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by