Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8521677
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T06:53:38+00:00 2026-06-11T06:53:38+00:00

Algorithm for extracting Heart Rate from raw ECG signal I have a raw ECG

  • 0

Algorithm for extracting Heart Rate from raw ECG signal

I have a raw ECG signal recorded in BDF format (can also make it EDF or txt). Now I have to analyze it off-line and extract heat rate.

Is there any C# or C++ implementation of such an algorithm? Or pseudocode algorithm at least.

Reason for doing it from scratch on my own is that late I want to incorporate it into an online analysis system.

I found links to:
Low Pass Filter: http://en.wikipedia.org/wiki/Low-pass_filter
High Pass Filter: http://en.wikipedia.org/wiki/High-pass_filter

… which will probably be needed for filtering the initial data.

Also there is a system created for a hardware module that might be a nice start:
http://www.codeproject.com/Articles/4353/ECG-recording-storing-filtering-and-recognition

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T06:53:40+00:00Added an answer on June 11, 2026 at 6:53 am

    The “Pan, Tompkins” algorithm is fairly simple to implement, and yields reasonable results.

    As far as I remember the general ideas were something like:

    The characteristic ECG shape is called the QRS-complex, where major spike in the ECG (aka the “R-spike”) has a distinct shape, which is what most people focus-on. The R-spike is enhanced by a “matched filter” (a filter with an impulse-response resembling the spike). I think afterwards the signal was put through a differentiator. Then then there was a simple 3-point-search after the highest peak.
    I also remember, that the algoritm had a “blanking period” where no R-spike search was performed, since a heart can only beat so fast…

    Have a look at this: ECG QRS Detection (PDF)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

What algorithm I can use for problem like this: Have a graph positive weighted,
What algorithm would you make a computer use, if you want to solve a
What algorithm can be used to find the longest path in an unweighted directed
What algorithm would you suggest to identify how much from 0 to 1 (float)
The algorithm name is after some mathematician. You can traverse image line by line
Which algorithm do you recommend to find out the nearest node which can be
My Goal: Extracting one value from an Excel Range , and verify for these
What algorithm or technique should I use to make an object follow the path
I am refreshing on algorithm theory (from Cormen). There is an exercise in the
I have an image, taken from a live webcam, and I want to be

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.