Anybody here familiar with detrended fluctuation analysis (DFA)?

2 views (last 30 days)
To those who are familiar with detrended fluctuation,
I am trying to figure out why the result of running a detrended fluctuation analysis turns out to be either negative or very small. The Hurst exponents I get when running the attached script is seemingly incorrect. The results should be between 0-1 (~0.5) but that is not the case. Unfortunately I dont have any idea on how to solve this issue.
I have attached a script called "dfaedit.m" and a sample time series ("sample_ts") for reference. The time series is that of an acceleration.
So my question is, why does my detrended fluctuation output give me small/negative results?
Thanks!

Answers (0)

Categories

Find more on Fractals in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!