Research Article

An Irregularity Measurement Based Cardiac Status Recognition Using Support Vector Machine

Algorithm 2

Calculate .
Require: is the location of the start and end points of individual events
(1) for    to    do
(2)  for    to    do
(3)   
(4)  end for
(5)  for    to    do
(6)   
(7)  end for
(8)  for    to    do
(9)   
(10)end for
(11)  for    to    do
(12)   
(13)  end for
(14)  
(15) end for
(16) for     is the total number of events (, systole, and diastole)  do
(17)  for    to    do
(18)   
(19)  end for
(20) end for