A biomedical DSP pipeline turning raw clinical ECG recordings into heart-rate estimates and rule-based abnormality classification.
A structured Digital Signal Processing pipeline in MATLAB, built on real recordings from the PTB Diagnostic ECG Database rather than synthetic waveforms. Each stage — filtering, peak detection, feature extraction, classification, segmentation — feeds the next, producing an end-to-end system rather than a simple visualization script.
Sequential DSP pipeline: import & normalize → 5-point moving-average filtering → adaptive R-peak detection → BPM estimation → statistical feature extraction → rule-based classification → beat segmentation for morphology comparison.
A fixed peak-detection threshold performed inconsistently across recordings with different baseline amplitudes.
Replaced it with an adaptive threshold computed from each signal's own mean and standard deviation.
The pipeline reliably detects heartbeats and estimates heart rate across recordings of varying signal quality, and the rule-based classifier's predictions were validated directly against the PTB Diagnostic Database's expert labels.