How to do segmentation on ECG signal for feature extraction

21 views (last 30 days)
I have a 1-minute ECG signal. How do I segment it into 10s? The Fs is 250Hz
thank you in advanced!

Accepted Answer

Star Strider
Star Strider on 5 Aug 2020
Use the Signal Processing Toolbox buffer function.
Calculating ‘n’ is straightforward:
n = 10 * 250
producing:
n =
2500
So 10 seconds of a signal sampled at 250 Hz is 2500 samples.
  26 Comments

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!