フィルターのクリア

Application of an LMS filter

1 回表示 (過去 30 日間)
Anmk
Anmk 2012 年 2 月 18 日
編集済み: Cedric 2013 年 10 月 15 日
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.

回答 (3 件)

Wayne King
Wayne King 2012 年 2 月 18 日
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 件のコメント
Wayne King
Wayne King 2012 年 2 月 18 日
can you briefly describe your application?

サインインしてコメントする。


Anmk
Anmk 2012 年 2 月 18 日
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 件のコメント
Wayne King
Wayne King 2012 年 2 月 18 日
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.

サインインしてコメントする。


Anmk
Anmk 2012 年 2 月 18 日
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! :)

カテゴリ

Help Center および File ExchangeAdaptive Filters についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by