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)

답변 (1개)

Walter Roberson
Walter Roberson 2017년 1월 25일
편집: Walter Roberson 2017년 1월 25일

0 개 추천

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

댓글 수: 2

izap
izap 2017년 1월 25일
Ok, thanks :)
But I would like to obtain an one value of phase shift.

댓글을 달려면 로그인하십시오.

카테고리

질문:

2017년 1월 25일

댓글:

2017년 1월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by