Clear Filters
Clear Filters

LMS filter export

1 view (last 30 days)
Anmk
Anmk on 19 Feb 2012
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
  1 Comment
Anmk
Anmk on 20 Feb 2012
Thank you very much!

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!