NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
Ali-aghayifar
Posts: 2
0 Kudos

how to find heartbeat rate form ecg

Hi

after i have filter a data that found in phusionet.org

i want to find the heartbeat rate from this signal 

witche block can be usefull ?

how can i do it ?

 

 

thx  

Active Participant
BCho
Posts: 349
0 Kudos

Re: how to find heartbeat rate form ecg

Hey Ali-

 

To help you out a little more we are going to need a little more information. Are you referring to data sets that can be found at Physionet.org? What software are you working with and what version? You mentioned that you have been able to filter the data, so you have been able to successfully read in the data and apply some sort of filtering algorithm to it? If your signal now looks like a standard heart beat pulse, you could apply an algorithm to, counting the peaks and then divide it by the time interval you are looking at.

 

Let us know if you still need assistance.

 

Ben

Applications Engineering

National Instruments

 

 

Hope this helps.
-Ben

WaterlooLabs
Member
Ali-aghayifar
Posts: 2
0 Kudos

Re: how to find heartbeat rate form ecg

i have read physionet data with matlab script in first step and then convert them to 1D of data array

an in next step filter array

 

 

 

now i know that count peaks ( if amplitude go more than a for example 2 , counter count )

my problem in designe a counter

 

how can i do this ? a counter that sount in  1 minute to obtain heart beat rate

 

Active Participant
BCho
Posts: 349
0 Kudos

Re: how to find heartbeat rate form ecg

Hey Ali-

 

To create your counter, you could just index through your 1D array. Looking at multiple data points, and when data goes from below your critical point (say 2) to above your critical point increase a count in a case structure. However, since it appears that you don't have a time associated with your data points you may have trouble converting this count to a heart beat rate, unless you know how many samples you take per minute.

 

There is another thread on a similar subject that you may want to take a look at (ECG Signal Analysis), or a add-on tool kit that might be useful for your application (Biomedical Startup Kit)

 

Let us know if you still need assistance determining a heart beat from your 1D array.

 

Ben

Applications Engineering

National Instruments

Hope this helps.
-Ben

WaterlooLabs
By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page