Clear Filters
Clear Filters

signal processing in ecg

6 views (last 30 days)
Kirthika
Kirthika on 16 Feb 2012
can you tell me the matlab codes to bandpass the ecg signal to 1-35hz?
  2 Comments
Wayne King
Wayne King on 16 Feb 2012
what is your sampling frequency?
Kirthika
Kirthika on 16 Feb 2012
sampling frequency is 360...

Sign in to comment.

Answers (1)

Wayne King
Wayne King on 16 Feb 2012
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.

Community Treasure Hunt

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

Start Hunting!