how to normalize EKG/ ECG signal

65 Ansichten (letzte 30 Tage)
JULIAN GOMEZ RODRIGUEZ
JULIAN GOMEZ RODRIGUEZ am 13 Apr. 2021
Kommentiert: Abdul Manan Dar am 14 Aug. 2021
Hello all,
I have a EKG/ ECG signal from Physionet and I'm trying to normalize the amplitude of the signal between 0 and 1. This means that the peaks of the QRS signal are going to be near the value 1, while most of the values are going to be near the baseline. I'm trying to use Pan Tompkins algorithm, and it does convert the values from 0 - 1, but only the values of the peaks, and I wanted to do it for the complete signal.
I have also tried to use "mat2gray" function, but it doens't work properly, since it's thought to be used with images and not EKG/ ECG signals.
Is there any prebuilt function in Matlab that does what I need?
Thanks in advance, Julián.

Antworten (1)

Star Strider
Star Strider am 13 Apr. 2021
See if the rescale function (introduced in R2017b) will do what you want.
  1 Kommentar
Abdul Manan Dar
Abdul Manan Dar am 14 Aug. 2021
try to use
for Normalising use:
x_norm = (x -min(x)) / max(x-min(x));
However, for normalisation Data should be normally distributed. For more general cases use standardisation:
x_standard = (x -mean(x))/std(x);
it will give you the z-score values between +/-3.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Measurements and Feature Extraction finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by