MATLAB: Low pass filter using filter coefficient

MATLAB

Hi,
I want to do low pass filtering of ECG signal. I have filter coefficients and sammpling frequency. With only this much information available is it possible to do low pass filtering?
please help if someone knows!
Thank you in advance.

Best Answer

If you have the Signal Processing Toolbox, first check the filter stability and performance with the freqz function.
Then use the filtfilt function to filter the signal.
All the necessary code and other details are explained in the documentation.