# ecg signal

hello everyone,

im doing a project about removing 50hz noise from ecg signal..now i have two codings in C++ for low pass filter and kaiser window..but i dont know how to implement this coding into matlab..i really dont have idea how to put all together in matlab and make it work..please help me..

loga

im doing a project about removing 50hz noise from ecg signal..now i have two codings in C++ for low pass filter and kaiser window..but i dont know how to implement this coding into matlab..i really dont have idea how to put all together in matlab and make it work..please help me..

loga

0

## Comments

An alternative would be to simply run the C++ code and then deal with the output data in Matlab.

I believe if you feed the signal through an operational amplifier you can eliminate the noise. I did have a circuit for it a few years back but where that is now???

A 741 differential amp with one input to the ECG signal, one open to the noise and the noise gets canceled out.

if it is, it's simple to code up a notch filter in matlab.

the second and third are creating FIR band/high pass filters from a low pass filter using modulation.

It sounds to me like you don't understand matlab at all, and what you want from me is to give you code that replicates this.

also, if you want to post code in the future, place it inside [php] [/php] tags.

at first i really didnt understand matlab at all but im learning.i didnt ask you for the code which replicates the code given by lecturer..anyhow thanks for your reply..