Phase difference removal by using Filtering, butterworth, filtfilt command
Ältere Kommentare anzeigen
Hi Guys!
I am using 6th order Butterworth bandpass filter to extract the 10-20 Hz band from the signal (x). After that, I applied the filtfilt command on to the Butterworth bandpass filtered signal (10-20 Hz) to remove the phase delay. Is that I am doing right?
Thanks in advance. The code is given below. Feel free to correct the code.
Fs = 500;
fcutlow = 6; % low cut frequency in Hz
fcuthigh = 14; % high cut frequency in Hz
[b,a] = butter(6,[fcutlow,fcuthigh]/(Fs/2));
Butterworth_bandpass_filter = filter(b,a,x);
Filt_filt_signal = filtfilt(b,a, Butterworth_bandpass_filter);
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Butterworth finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!