how can I find the instantaneous frequency of a IMF signal

2 次查看(过去 30 天)
Hello,I'm a student from Romania and I'm doing a Bachelor paper about using the Hilbert-Huang transform, EMD for denoising an ECG.I have a question if you know how can I find the instantaneous frequency of a signal. I used the Hilbert-Huang transform to break an ECG signal into IMFs.Now I'm at the part that I have to find out the instantaneous frequencies of each IMFs so my denoising algortihm cand work,they must be over 30 Hz so the "if" condition in my algorithm can apply.
If you have some knowlegde about this and can help I will appreciate it very much.
I tried to use this code but I get the error below :
h = hilbert(x);
unrolled_phase = unwrap(angle(h));
inst_freq = diff(unrolled_phase)'/diff(length(x))/(2*pi);
inst_amp = abs(h);
??? Error using ==> mldivide
Matrix dimensions must agree.

回答(0 个)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by