LMS filter export

Hello, Is it possible to export the h[n] of an LMS filter created based on two training signals using the following commands:
hlms2=dsp.LMSFilter('StepSize', 0.0001, 'Length' , 600)
[output,err]=step(hlms2,x_echo_trainset_orig,new)
in order to use it with another signal as echo remover?

 Accepted Answer

Rick Rosson
Rick Rosson on 20 Feb 2012
The step method returns the filter coefficients as an optional output argument:
[output,err,coeffs] = step(hlms2,x_echo_trainset_orig,new);
HTH.
Rick

More Answers (0)

Asked:

on 19 Feb 2012

Community Treasure Hunt

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

Start Hunting!