measure phase of a sine wave
3 次查看(过去 30 天)
显示 更早的评论
I want to measure the phase of a sine wave in simulink during simulation. anybody knows how to do it?
回答(2 个)
Walter Roberson
2016-12-21
fft() and examine angle() of the result at the bin appropriate for the frequency you are interested in.
1 个评论
Walter Roberson
2016-12-21
https://www.mathworks.com/matlabcentral/answers/106534-instantaneous-phase-angle-plots shows phase detection in Mathworks using a Hilbert transform.
https://www.mathworks.com/help/dsp/examples/envelope-detection.html#zmw57dd0e11769 shows constructing a Hilbert transform in Simulink.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Transforms 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!