  The application of the hidden Markov model with various parameters in the
segmentation task of QRS, ST, T, P, PQ, ISO complexes of electrocardiograms is
considered. Models were trained using the Viterbi algorithm using the QT
Database. For comparison, the Pan-Tompkins algorithm for searching for the
duration of QRS complexes was modified.
