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 visualizaciones (últimos 30 días)
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.

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 27 de Jun. de 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.

Más respuestas (0)

Productos


Versión

R14SP1

Community Treasure Hunt

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

Start Hunting!

Translated by