MATLAB: How to normalize and re-sample ECG signal

biomedical signal processingecg signal processingphysionet

There is an ECG signal I want to normalize and re-sample at 200Hz. The signal is stored in first row of 16265m.mat
This recording is downloaded from website of PhysioNet . It's length is 10 seconds.

Best Answer

I have no idea what you mean by ‘normalize’. When I looked it up, it seemed relatively noise-free, and the baseline was smooth and not offset. The sampling frequency is 128 Hz, so the easiest way to resample it is to use the Signal Processing Toolbox resample function:
y = resample(x, 200, 128);
The resample function incorporates filtering of the resampled signal, so I prefer it for signal processing.