Help, problem with dsp.BiquadFilter

12 ビュー (過去 30 日間)
Zakaria Makhlouki
Zakaria Makhlouki 2016 年 12 月 27 日
コメント済み: Muhammad Younus 2018 年 5 月 14 日
using the same code in this page https://www.mathworks.com/help/audio/examples/active-noise-control-using-a-filtered-x-lms-fir-adaptive-filter.html#zmw57dd0e848, during the execution I have a problem in this line
sedondaryPathCoeffsActual = bandpass([zeros(delayS,1); ...
log(0.99*rand(N-delayS,1)+0.01).* ...
sign(randn(N-delayS,1)).*exp(-0.01*(1:N-delayS)')]);
I am not able to solve it, please help me.
  2 件のコメント
Walter Roberson
Walter Roberson 2016 年 12 月 27 日
What error message are you observing?
Muhammad Younus
Muhammad Younus 2018 年 5 月 14 日
Array formation and parentheses-style indexing with objects of class 'dsp.BiquadFilter' is not allowed. Use objects of class 'dsp.BiquadFilter' only as scalars or use a cell array.
Error in SecondaryPathCalculation (line 15) secondaryPathCoeffsActual = bandpass([zeros(delayS,1); ...

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

回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by