Clear Filters
Clear Filters

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

10 views (last 30 days)
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).

Answers (1)

Steven Lord
Steven Lord on 12 Jun 2020
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.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!