Why do I receive an error message "Value must be a scalar" using the FDESIGN.DECIMATOR function in Filter Design Toolbox 3.3 (R14SP3)?

15 visualizzazioni (ultimi 30 giorni)
When I enter the following in MATLAB 7.1 (R14SP3):
>> hs = fdesign.decimator(5,'CIC','fp,ast',0.55,55)
I receive the following error message:
??? Error using ==> sigdatatypes.schema>check_singular
Value must be a scalar.

Risposta accettata

MathWorks Support Team
MathWorks Support Team il 27 Giu 2009
This bug has been fixed in Release 2006a (R2006a). For previous product releases, read below for any possible workarounds:
This is an error in the documentation for FDESIGN.DECIMATOR in the Filter Design Toolbox 3.3 (R14SP3). To construct a CIC decimator, you have to specify the differential delay input argument, "d", for the CIC filter as well as the other input values. Here is the correct syntax adding the differential delay argument:
d = 1; %Differential delay.
s = fdesign.decimator(5,'CIC',d, 'fp,ast',0.55,55);
Note the additional input argument "d" used to specify the differential delay immediately after the CIC argument string. The examples in the documentation are otherwise correct.

Più risposte (0)

Prodotti


Release

R14SP1

Community Treasure Hunt

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

Start Hunting!

Translated by