LMS filter export
1 view (last 30 days)
Show older comments
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?
0 Comments
Accepted Answer
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)
See Also
Categories
Find more on Adaptive Filters in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!