Autoregressive, or recursive, filtering.
Parameters: | x : array-like
ar_coeff : array-like
init : array-like
|
---|---|
Returns: | y : array
|
Notes
Computes the recursive filter
y[n] = ar_coeff[0] * y[n-1] + ...
+ ar_coeff[n_coeff - 1] * y[n - n_coeff] + x[n]
where n_coeff = len(n_coeff).