Takes data from the atrial fibrillation database from Physionet, and attempts to detect that atrial fibrillation using a number of statistical methods. Matlab code.
The results which are obtained using your code are not proper, like the detected array in test data file is only containing 0, for every dataset. It is not giving the proper results.
When I use python to read mit MIT-BIH Atrial Fibrillation Database(afdb), when I read the identification of each record, there is only N category and no other three categories.