필터 지우기
필터 지우기

use Findpeak for multiple ECG signals

조회 수: 1 (최근 30일)
sania urooj
sania urooj 2021년 3월 8일
댓글: Mario Malic 2021년 3월 8일
hey ! I am trying to use "findpeaks' for multiple ecg signals using loop.
but it does not work. I know the problem , in my file there are 30 ecg signals and every signal may have different peaks , Therefore, it is not generating a matrix having equal columns.
ecg_m has 30x 10149 rows n columns. My code is given as:
for i=1:30
[pks(i,:),locs(i,:)] = findpeaks(ecg_m(i,:));
end
Please tell me any other way to do this task.
  댓글 수: 1
Mario Malic
Mario Malic 2021년 3월 8일
Use structure, or cell array to save the data in.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Descriptive Statistics에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by