how to normalize EKG/ ECG signal

65 vues (au cours des 30 derniers jours)
JULIAN GOMEZ RODRIGUEZ
JULIAN GOMEZ RODRIGUEZ le 13 Avr 2021
Commenté : Abdul Manan Dar le 14 Août 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.

Réponses (1)

Star Strider
Star Strider le 13 Avr 2021
See if the rescale function (introduced in R2017b) will do what you want.
  1 commentaire
Abdul Manan Dar
Abdul Manan Dar le 14 Août 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.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Measurements and Feature Extraction dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by