phase angle from discrte hilbert tranform
Afficher commentaires plus anciens
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
Réponse acceptée
Plus de réponses (1)
Wayne King
le 2 Déc 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 commentaires
Wayne King
le 2 Déc 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
le 2 Déc 2011
Fatma Keskin
le 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?
Catégories
En savoir plus sur Hilbert and Walsh-Hadamard Transforms dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!