Substitute of CUSUM algorithm for point-change detection and curve fitting..
5 views (last 30 days)
Show older comments
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?
1 Comment
H. Sh. G.
on 9 Nov 2021
Hi
Use findchangpts.m
https://www.mathworks.com/help/signal/ref/findchangepts.html
Accepted Answer
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
Greg
0 Comments
More Answers (1)
jyoti mundra
on 18 May 2020
Hi, is there any matlab function available for CUSUM also?
1 Comment
Tommy
on 22 May 2020
In the signal processing toolbox:
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!