Find HR from ECG.

조회 수: 5 (최근 30일)
Kasper
Kasper 2011년 4월 12일
Hi. I am looking for help, at finding the HR from a ECG signal. The ECG file is imported to Matlab and I have used "findpeaks", to find the R-wave. My question is: how do I find the x-values (time) corresponding to the y-values (mV)? Hope you understand the question.
Kasper.

채택된 답변

Jarrod Rivituso
Jarrod Rivituso 2011년 4월 12일
If you are using findpeaks, you should be able to get the indices as well.
>> x = 0:0.01:4*pi;
>> y = sin(x);
>> [yMax,idx] = findpeaks(y);
>> x(idx)
  댓글 수: 1
Kasper
Kasper 2011년 4월 12일
Thank you very much! That made it work!

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

추가 답변 (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