フィルターのクリア

'fir1' requires Signal Processing Toolbox.i don't how to debug it with this format.

10 ビュー (過去 30 日間)
CHIN XUAN TEE
CHIN XUAN TEE 2020 年 6 月 12 日
回答済み: Steven Lord 2020 年 6 月 12 日
b_lpf = fir1(64, 10*10^3/(Fs/2),'low'); % LPF (the cutoff freqency is at 10kHz in this case (i.e., -6dB reduction relative to the passband)
b_hpf = fir1(64, 0.5*10^3/(Fs/2),'high'); % HPF (the cutoff frequency is 1kHz (-6dB).

回答 (1 件)

Steven Lord
Steven Lord 2020 年 6 月 12 日
The fir1 function is part of Signal Processing Toolbox. What the error message you paraphrased in the title of your question means is that if you don't have this toolbox installed and licensed, you cannot use this function. You can check if the toolbox is installed using the ver function.

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by