Filter löschen
Filter löschen

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

10 Ansichten (letzte 30 Tage)
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).

Antworten (1)

Steven Lord
Steven Lord am 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.

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by