How to separate a signal into 4 second segments?
조회 수: 2 (최근 30일)
이전 댓글 표시
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')
댓글 수: 0
채택된 답변
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
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.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 ECG / EKG에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!