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)
回答(1 个)
Walter Roberson
2017-1-25
编辑:Walter Roberson
2017-1-25
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
2017-1-25
类别
在 帮助中心 和 File Exchange 中查找有关 Switches and Breakers 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!