How to separate a signal into 4 second segments?

2 visualizaciones (últimos 30 días)
Explorer
Explorer el 26 de En. de 2016
Comentada: Explorer el 27 de En. de 2016
Lets say I have an ECG signal and I want to separate it 4 second segments. How to do it in MATLAB?
% MATLAB Code
load ('C:\Users\Explorer\Documents\MATLAB\PhysioNet_Database\Malignant_Ventricular_Ectopy_Database\418m.mat');
signal=val(1,:);
plot(signal)
xlabel('Time')
ylabel('Voltage')

Respuesta aceptada

Walter Roberson
Walter Roberson el 26 de En. de 2016
If you have the signal processing toolbox, see buffer(), provided the signals are equally spaced in time.
  3 comentarios
Star Strider
Star Strider el 27 de En. de 2016
The Physionet EKGs are all sampled at constant time intervals, but the intervals are different in different records. The sampling frequencies and other data for each record are all available in the database.
Explorer
Explorer el 27 de En. de 2016
Thank you guys!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre ECG / EKG 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