phase shift for data

Hello! Is there anyone who could tell me how to count a phase shift for attached data? AO and AI - sinewaves Ts - sample time f-signal frequency t-time, so the plot can be obtained by: plot(t,AO,t,AI)

Respuestas (1)

Walter Roberson
Walter Roberson el 25 de En. de 2017
Editada: Walter Roberson el 25 de En. de 2017

0 votos

Guessing that AO is Output and AI is Input and so AO is dependent on AI, then:
plot(t,atan2(AO-AI,AI))

2 comentarios

izap
izap el 25 de En. de 2017
Ok, thanks :)
But I would like to obtain an one value of phase shift.

Iniciar sesión para comentar.

Preguntada:

el 25 de En. de 2017

Comentada:

el 25 de En. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by