allan

Calculates standard Allan Deviation (ADEV) of a time domain signal.

You are now following this Submission

allan.m calculates the standard Allan deviation (ADEV) of a time domain signal. It is designed for stability analysis of frequency data, although the analysis can be applied to other types of data. Fractional frequency or phase data sets with sample rate or time stamp information are handled.
Note: for overlapping and modified Allan deviation analysis, please see the files allan_modified.m (ID: #26637) and allan_overlap.m (ID: #26441).

Cite As

M. A. Hopcroft (2026). allan (https://www.mathworks.com/matlabcentral/fileexchange/13246-allan), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
2.28

Long-overdue update to handle some edge cases. Also improved data consistency checks.

1.11.0.0

v2.24 fix bug related to phase data and timestamps

1.10.0.0

v2.22 improve tau handling; plotting bugfix

1.9.0.0

v2.20 consistent behaviour for all allan_x.m functions.

1.8.0.0

v2.16 fixed some issues related to plotting

1.7.0.0

v2.14: updates to plotting, default values

1.6.0.0

minor bugfixes, data consistency checking updated

1.5.0.0

Description typo fix

1.4.0.0

handles phase data; error checking; asst. bugfixes

1.3.0.0

v1.82: performance enhancement; code/comments cleanup

1.2.0.0

v1.8: Vectorized code for significant performance enhancement.

1.1.0.0

added loglog plot option. Included test data in .mat file.

1.0.0.0

-fix bug in regular data calc for high-rate data
-fix bug in timestamp data calc for large starting gap
See code comments for details