Two simple MATLAB functions that computes:
- Approximate Entropy (ApEn) and Sample Entropy (SpEn) in Time Domain
- Shannon Spectral Entropy (Shannon) and Rényi Spectral Entropy (Renyi) in Frequency Domain
The algorithm used for ApEn is described on the PhysioNet website (https://archive.physionet.org/physiotools/ApEn/).
I decided to post them because when I needed them for a university course, I couldn't find them immediately online.