Substitute of CUSUM algorithm for point-change detection and curve fitting..

7 views (last 30 days)
Hi, I am using CUSUM (cumulative sum) algorithm to detect points of sudden changes in my neural signal data. This algorithm is working fine, but I want to try some other algorithm. Can anyone suggest some other algorithm that can be used to detect changes?

Accepted Answer

Greg Heath
Greg Heath on 1 May 2017
Just compare the new point with the old mean before updating the mean
check(n+1) = abs( x(n+1)- meanx(n) )
meanx(n+1) = ( x(n+1) + n*meanx(n))/(n+1)
Hope this helps
Thank you for formally accepting my answer

More Answers (1)

jyoti mundra
jyoti mundra on 18 May 2020
Hi, is there any matlab function available for CUSUM also?

Community Treasure Hunt

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

Start Hunting!