Azzera filtri
Azzera filtri

How I can determine the phase and magnitude between two non periodic time series?

2 visualizzazioni (ultimi 30 giorni)
Hi,
I need to obtain the obtain the phase and the magnitude between two nonperiodic time series and plot it in time. I have only the time series in time domain. Do you have any idea how I can do it?
Thank you in advance

Risposte (3)

Wayne King
Wayne King il 14 Feb 2013
Modificato: Wayne King il 14 Feb 2013
I'm not sure what you mean by "plot the phase and magnitude in time"
You can use cpsd to estimate the magnitude and phase relationship between two nonperiodic time series, but you cannot get a time dependent plot out of that function.
You would to take cpsd() and feed it blocks of data to obtain a time-varying cross spectrum.

Traian Preda
Traian Preda il 14 Feb 2013
Hi,
First thank you for your answer. That's I want to ask how I can plot time dependent phase and magnitude.
Can you give me an example for the spectrogram command (maybe you can related to the previous example).
Or there is another way to make this convolution
Thank you
  1 Commento
Wayne King
Wayne King il 14 Feb 2013
I'm not sure I understood you initially, you want to measure these things for two different series as in measuring the cross spectrum?

Accedi per commentare.


Traian Preda
Traian Preda il 22 Feb 2013
Hi again,
Yes I want to observe the phase shift and the magnitude of two nonperiodic signals in time.

Community Treasure Hunt

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

Start Hunting!

Translated by