phase shift for data
Afficher commentaires plus anciens
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)
Réponses (1)
Walter Roberson
le 25 Jan 2017
Modifié(e) : Walter Roberson
le 25 Jan 2017
Guessing that AO is Output and AI is Input and so AO is dependent on AI, then:
plot(t,atan2(AO-AI,AI))
Catégories
En savoir plus sur Switches and Breakers dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!