adaptive filter with more than two coefficients

 採用された回答

Honglei Chen
Honglei Chen 2012 年 5 月 23 日

0 投票

You need to change the loop to
j = 3:N
and then the signal to
x(j-2:j)
Otherwise, your x(j-1:j) is only 2 samples long while your filter has 3 coefficients, dimension mismatch.

1 件のコメント

Tom
Tom 2012 年 5 月 23 日
Thank you so much!!!!!

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeSignal Processing Toolbox についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by