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

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 comentario

Hi
Use findchangpts.m
https://www.mathworks.com/help/signal/ref/findchangepts.html

Iniciar sesión para comentar.

 Respuesta aceptada

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

Más respuestas (1)

Categorías

Preguntada:

el 1 de Mayo de 2017

Comentada:

el 9 de Nov. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by