This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.


System object: dsp.RLSFilter
Package: dsp

Process inputs using RLS filter


y = step(rlsFilt,x,d)
[y,e] = step(rlsFilt,x,d)


    Note:   Starting in R2016b, instead of using the step method to perform the operation defined by the System object™, you can call the object with arguments, as if it were a function. For example, y = step(obj,x) and y = obj(x) perform equivalent operations.

y = step(rlsFilt,x,d) recursively adapts the reference input, x, to match the desired signal, d, using the System object, rlsFilt. The desired signal,d is the signal desired plus some undesired noise. [y,e] = step(rlsFilt,x,d) shows the output of the RLS filter along with the error, e, between the reference input and the desired signal. The filters adapts its coefficients until the error, e is minimized. You can access these coefficients by accessing the 'Coefficients' property of the object. You must access this property after calling the step method on the object. For example, you can access the optimized coefficients of rlsFilt filter object through rlsFilt.Coefficients, after calling the step method on this object.

Was this topic helpful?