phase angle from discrte hilbert tranform
显示 更早的评论
If I have time series data and I want to Hilbert transformation it to get the phase angle as a function of time what do I need to do? Sorry I'm completely stumped and brand new to matlab
采纳的回答
更多回答(1 个)
Wayne King
2011-12-2
Hi, Do you really just want the phase function, or are you trying to get the instantaneous frequency. At any rate, you can get the phase with:
x = cos(pi/4*(0:100));
y = hilbert(x);
sigphase = atan2(imag(y),real(y));
% or
sigphase = angle(y);
3 个评论
Wayne King
2011-12-2
I should add you need to be careful how you interpret the phase here, it's much more straightforward to interpet the magnitude of the Hilbert transform.
bobby
2011-12-2
Fatma Keskin
2023-5-20
If we have an amplitude modulated signal, what would the instantaneous phase give me? Phase of the envelope or the actual oscillation?
类别
在 帮助中心 和 File Exchange 中查找有关 Hilbert and Walsh-Hadamard Transforms 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!