This software reproduces the results in the paper

``Wavelet Based Dictionaries for Dimensionality Reduction of ECG Signals'' 

To set the path  from the directory  with MATLAB is run please 
write 

>>P=genpath('ECG_DCodec');
>>addpath(P);

For adding the entropy coding step the MATLAB function Huff06 is needed.
It can be downloaded from  

http://www.ux.uis.no/~karlsk/proj99 

By default the software runs without entropy coding
To add the entropy coding step change the variable
"store" to 1 inside the scripts 

For a quick check please run the script

Test_Record_Encoder  to  compress one record and 

Test_Record_Decoder  to  recover the signal

For reproducing  the tables in the paper please 
run the script

Run_DECG_Tables




 





