Effacer les filtres
Effacer les filtres

Application of an LMS filter

1 vue (au cours des 30 derniers jours)
Anmk
Anmk le 18 Fév 2012
Modifié(e) : Cedric le 15 Oct 2013
Hello, I have trained an LMS filter using these commands
hlms2=dsp.LMSFilter('StepSize', 0.0001, 'Length' , 600)
[output,err]=step(hlms2,x_echo_trainset_orig,new)
and now I want to apply this filter to another signal. Do you know any function that would work for me? I checked the step function put this function needs a desired signal as an argument that I do not have.

Réponses (3)

Wayne King
Wayne King le 18 Fév 2012
But the adaptive filter presumes you have a desired signal. Otherwise, what is the filter adapting to? Are you sure in your application you want an adaptive filter?
  1 commentaire
Wayne King
Wayne King le 18 Fév 2012
can you briefly describe your application?

Connectez-vous pour commenter.


Anmk
Anmk le 18 Fév 2012
I was given 3 samples. Two of them are the trainingsets to create the filter namely x_echo_trainset_orig and new. And another sample which I have to clean from the echo using the filter I created based on the trainingsets. I'm not really familiar with DSP so there's definitely a chance that i got something wrong..
  1 commentaire
Wayne King
Wayne King le 18 Fév 2012
actually you might be on the right track, but I think you have to describe this signals more. new is not very informative for example.

Connectez-vous pour commenter.


Anmk
Anmk le 18 Fév 2012
as trainingsets i got x_echo_trainset_orig (18643x1 double) and y_echo_trainset_echoed(18443x1 double) the y signal is the desired signal for the training. I suspected that the difference in their length is due to the delay of the echo (i was given that the delay is 200) so i added 200zeros on top of that vector and named it new. After that I run the following commands hlms2=dsp.LMSFilter('StepSize', 0.0001, 'Length' , 600) [output,err]=step(hlms2,x_echo_trainset_orig,new) . And now I need to apply the filter to the x_echo(37087x1 double) in order to remove the echo. That's all I know.. Thank you for your time! :)

Community Treasure Hunt

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

Start Hunting!

Translated by