Fast Approximate Entropy

This function calculates Approximate Entropy (ApEn) of a time series data in a very efficient way.
4.8K Downloads
Updated 20 Mar 2012

View License

Approximate Entropy (ApEn) is a popular tool in analysing the complexity of time series data especially in clinical research.

This function is a very simple and efficient implementation of ApEn, based on vectorization concept that improves speed tremendously over for-loop implementation.

It also contains a test code (foo.m) for generating a plot of ApEn of different simulated time series data, to help understand the usage. The test code generates a plot similar to that appearing in Ki H. Chon's 2009 paper in IEEE Eng in Med Biol, that discusses what r value we should use.

Cite As

Kijoon Lee (2026). Fast Approximate Entropy (https://uk.mathworks.com/matlabcentral/fileexchange/32427-fast-approximate-entropy), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Frequently-used Algorithms in Help Center and MATLAB Answers
Acknowledgements

Inspired by: Approximate Entropy

Inspired: Sample Entropy

Version Published Release Notes
1.1.0.0

The new version (Ver 1) has corrected a minor error in the definition of ApEn, and included another input argument tau for multi-scale ApEn calculation. See inside for details.

1.0.0.0