phase angle from discrte hilbert tranform
Ältere Kommentare anzeigen
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
Akzeptierte Antwort
Weitere Antworten (1)
Wayne King
am 2 Dez. 2011
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 Kommentare
Wayne King
am 2 Dez. 2011
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
am 2 Dez. 2011
Fatma Keskin
am 20 Mai 2023
If we have an amplitude modulated signal, what would the instantaneous phase give me? Phase of the envelope or the actual oscillation?
Kategorien
Mehr zu Hilbert and Walsh-Hadamard Transforms finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!