![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/448423/image.png)
allanvar() surprising behavior for large Tau
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I compared Matlab build-in allanvar() funtion to script provided in NXP AN5087 and can see significant difference for Allan deviation at large tau.
This happens for very large data count, e.g. >1e7.
AN5087 is much closer to expected behavior: slope -1/2 then slope +1/2 !
So I would not recomend using allanvar() for very large datafiles !
0 Kommentare
Antworten (1)
Sean
am 6 Dez. 2020
I think I'm observing the same problem. It is easy to reproduce using the following code
[sigma,tau] = allanvar(rand([1,1e8]));
figure;loglog(tau,sigma,'.:')
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/448423/image.png)
0 Kommentare
Siehe auch
Kategorien
Mehr zu Specialized Power Systems finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!