Monday, 14 October 2024

PEAK DETECTION

In this stage of heart sound analysis, peak detection is performed on the envelope of the filtered heart sound signal. The find peaks function is used to identify significant peaks in the envelope, which correspond to key features of the heart sound, such as the S1 and S2 heart sounds or potential murmur events. The peaks are detected based on a minimum peak height of 0.1 and a minimum distance of 500 samples between consecutive peaks, ensuring that only prominent, well-separated peaks are captured. The detected peaks are then plotted and marked on the waveform using red circles, providing a visual reference for the locations of the key heart sound events. This step is essential for feature extraction and classification, as the timing and prominence of the peaks are critical for analyzing heart sound patterns.

MATLAB CODE 




WAVEFORM













No comments:

Post a Comment

ARRHYTHMIA DETECTION

Arrhythmia detection in the MATLAB code involves analyzing the time intervals between consecutive heartbeats (S1 and S2 peaks) to identify i...