how to use a low pass filter on a sequence
Mostrar comentarios más antiguos
Hi I have a rr sequence contains different amplitudes .. I want to use a low pass filter do get rid of high amplitudes in the rr sequence who to do it? thanks

Respuestas (2)
It depends on what the physical nature of the noise is. Maybe a Butterworth filter helps, or a Savitzky-Golay-filter, or a moving average? We cannot decide this reliably only based on the image of the signal. Do you have any further information?
y = movemean(x, 5);
y = sgolayfilt(x, 3, 15);
[b, a] = butter(3, 0.8, 'low');
y = filter(b, a, x); % or filtfilt
Categorías
Más información sobre Butterworth en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!