. The parameter n is the number of extreme changes in a row that will be rejected before finally accepting a large change, with possible values n=0,1,2,…
In this form, the filter stores its previous output and a counter c for the number of times in a row an input rate of change has been violated. The filter would be initialized to c = 0 and the input matching the output