フィルターのクリア

how to obtain heart rate per minute?

1 回表示 (過去 30 日間)
Saifuddin Chowdhury
Saifuddin Chowdhury 2014 年 1 月 11 日
編集済み: Matt J 2014 年 1 月 11 日
I have following data: Sample frequency=11025; numbers of bits=16; y(file size)=<47326x1 double>.
i need information of heart rate per minute from beginning to end of file y. so, i need to make a plot of BPM vs time(minute). how can do it?

回答 (1 件)

Matt J
Matt J 2014 年 1 月 11 日
編集済み: Matt J 2014 年 1 月 11 日
Generally speaking, you need to derive a binary vector from y indicating at what moments a beat occurs. Then you can count the number of beats in any interval of 11025 samples by doing a convolution
BPM = conv(double(binarymap), ones(1,11025),'valid')
I assume here that the units of 11025 are samples per minute.
  2 件のコメント
Saifuddin Chowdhury
Saifuddin Chowdhury 2014 年 1 月 11 日
編集済み: Saifuddin Chowdhury 2014 年 1 月 11 日
how can derive binary vector? Is binarymap same as binary vector? Is it required correlation to apply to obtain BPM?
Matt J
Matt J 2014 年 1 月 11 日
編集済み: Matt J 2014 年 1 月 11 日
how can derive binary vector?
Don't ask us. You're the cardiology specialist here ;)
Is binarymap same as binary vector?
Yes.
Is it required correlation to apply to obtain BPM?
Convolution is equivalent to correlation if the kernel is symmetric. So, you could say that my proposal is a correlator as well as a convolver.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by