ECG waveform similarity analysis based on window-slope representation: ECG waveform similarity analysis based on window-slope representation