1. A method comprising: determining a current covariance matrix of a plurality of electrograms measuring each current heartbeat, determining a distance measure between the current covariance matrix and a predetermined covariance matrix of the plurality of electrograms measuring at least one different heartbeat; and determining whether the heartbeat represents ventricular tachycardia based on the distance measure.