The LMSFilter implements an adaptive FIR filter object that returns the filtered output, the error vector, and filter weights.
www.mathworks.com