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!