signal processing in ecg

can you tell me the matlab codes to bandpass the ecg signal to 1-35hz?

2 Comments

what is your sampling frequency?
sampling frequency is 360...

Sign in to comment.

Answers (1)

There are many ways with fdesign.bandpass and if you just remove the mean from the signal, I think you can just use fdesign.lowpass in this application, but here is one way:
d = fdesign.bandpass( 'N,F3dB1,F3dB2',20,1,35,360);
Hd = design(d);
Then filter the signal with:
output = filter(Hd,input);

Tags

No tags entered yet.

Asked:

on 16 Feb 2012

Community Treasure Hunt

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

Start Hunting!