How to separate a signal into 4 second segments?

조회 수: 2 (최근 30일)
Explorer
Explorer 2016년 1월 26일
댓글: Explorer 2016년 1월 27일
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')

채택된 답변

Walter Roberson
Walter Roberson 2016년 1월 26일
If you have the signal processing toolbox, see buffer(), provided the signals are equally spaced in time.
  댓글 수: 3
Star Strider
Star Strider 2016년 1월 27일
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 2016년 1월 27일
Thank you guys!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 ECG / EKG에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by