File Exchange

image thumbnail


version (8.19 KB) by M. A. Hopcroft
allan_modified.m calculates the modified Allan deviation (MDEV) of a time domain signal.


Updated 18 Mar 2014

View Version History

View License

allan_modified.m calculates the modified Allan deviation (MDEV) of a time domain signal. It is intended for stability analysis of frequency data. Fractional frequency or phase data sets with sample rate or time stamp information are handled.
Note: for regular and overlapping Allan deviation analysis, please see the files allan.m (ID: #13246) and allan_overlap.m (ID: #26441).

Cite As

M. A. Hopcroft (2021). allan_modified (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (3)


I need your help.
when I run this code I find this error:
>> allan_modified
Error using allan_modified (line 117)
Not enough input arguments.

M. A. Hopcroft

Thanks for the feedback. I do not have a secret magic button for speeding up the code :) MDEV is more complex than ADEV, so it takes longer to calculate. If you have some ideas about how to implement the algorithm, please send me an email!
Note that all of the code in this series (allan.m, allan_overlap.m, allan_modified.m) runs much faster if you provide a sample rate than if you provide timestamps.

Brandon Bourn

This program works, it's a good addition to the allan variance frequency analysis, however, it takes a very long time to calculate. Is there any way to speed it up?

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired by: allan, allan_overlap

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!