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

10 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Introduction 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