File Exchange

image thumbnail

allan_modified

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

2 Downloads

Updated 18 Mar 2014

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).

Comments and Ratings (3)

Hello,
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.

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.

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?

Updates

1.5.0.0

v2.24 fix bug related to phase data and timestamps

1.4.0.0

v2.22 improve tau handling; plotting bugfix

1.3.0.0

v1.2 synchronize with allan.m v2.2. Handle certain timestamp irregularities.

1.2.0.0

v1.1: bugfixes for irregular sample rates

1.1.0.0

Description typo fix

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

Inspired by: allan, allan_overlap