how to normalize EKG/ ECG signal

65 visualizaciones (últimos 30 días)
JULIAN GOMEZ RODRIGUEZ
JULIAN GOMEZ RODRIGUEZ el 13 de Abr. de 2021
Comentada: Abdul Manan Dar el 14 de Ag. de 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.

Respuestas (1)

Star Strider
Star Strider el 13 de Abr. de 2021
See if the rescale function (introduced in R2017b) will do what you want.
  1 comentario
Abdul Manan Dar
Abdul Manan Dar el 14 de Ag. de 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.

Iniciar sesión para comentar.

Categorías

Más información sobre Measurements and Feature Extraction en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by