Can not find the comb filter or notch filter in my processing toolbox?

1 回表示 (過去 30 日間)
Håkon
Håkon 2013 年 6 月 24 日
コメント済み: Paola 2018 年 6 月 27 日
Hi,
I am working on the following version of matlab and SPT
MATLAB Version 7.14 (R2012a)
Signal Processing Toolbox Version 6.17 (R2012a)
From looking at the web I understand that the signal processing toolbox should include the comb filter and notch filter under fdesign. This is not the case in my version.
What is the problem?
  1 件のコメント
Håkon
Håkon 2013 年 6 月 24 日
Figured it out, I had the wrong toolbox. Apperently I do not have DSP system toolbox, only signal processing toolbox.

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

回答 (1 件)

Ravi
Ravi 2013 年 6 月 24 日
or You can just type help iirnotch and then see the following example:
% Design a filter with a Q-factor of Q=35 to remove a 60 Hz tone from % system running at 300 Hz. Wo = 60/(300/2); BW = Wo/35; [b,a] = iirnotch(Wo,BW); if you replace the 60 with 50 Hz and then do: Y = filter(b,a,X)
  1 件のコメント
Paola
Paola 2018 年 6 月 27 日
This doesn't work if you don't have DSP toolbox, since it doesn't recognize "iirnotch" function.

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

カテゴリ

Help Center および File ExchangeFilter Design についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by