how to normalize EKG/ ECG signal

63 visualizzazioni (ultimi 30 giorni)
JULIAN GOMEZ RODRIGUEZ
JULIAN GOMEZ RODRIGUEZ il 13 Apr 2021
Commentato: Abdul Manan Dar il 14 Ago 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.

Risposte (1)

Star Strider
Star Strider il 13 Apr 2021
See if the rescale function (introduced in R2017b) will do what you want.
  1 Commento
Abdul Manan Dar
Abdul Manan Dar il 14 Ago 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.

Accedi per commentare.

Categorie

Scopri di più su Measurements and Feature Extraction in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by