Fast Approximate Entropy

This function calculates Approximate Entropy (ApEn) of a time series data in a very efficient way.

You are now following this Submission

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://se.mathworks.com/matlabcentral/fileexchange/32427-fast-approximate-entropy), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: Approximate Entropy

Inspired: Sample Entropy

Categories

Find more on Frequently-used Algorithms in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
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