Why do I receive an error when using the calling syntax stated in the documentation for FDESIGN.NYQUIST in Filter Desisgn Toolbox 3.2 (R14SP2)?

1 view (last 30 days)
I receive an error when using the syntax in the documentation for FDESIGN.NYQUIST in Filter Desisgn Toolbox 3.2 (R14SP2).
In the documentation for FDESIGN.NYQUIST, the following syntaxes are given:
d = fdesign.nyquist
d = fdesign.nyquist(spectype)
d = fdesign.nyquist(spectype,specvalue1,specvalue2, ...)
d = fdesign.nyquist('tw,ast')
d = fdesign.nyquist(...,fs)
d = fdesign.nyquist(...,magunits)
The first syntax in this list works, but the remaining ones give the following error or a similar one:
>> d = fdesign.nyquist('tw,ast')
??? Error using ==> fdesign.nyquist.nyquist
The first input to fdesign.nyquist must be a scalar number.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This bug has been fixed in Release 14 Service Pack 3 (R14SP3). For previous product releases, read below for any possible workarounds:
This has been verified as an error in the documentation for FDESIGN.NYQUIST in the Filter Design Toolbox. The documentation should read as follows:
d = fdesign.nyquist
d = fdesign.nyquist(l, spectype)
d = fdesign.nyquist(l, spectype,specvalue1,specvalue2, ...)
d = fdesign.nyquist(l, 'tw,ast')
d = fdesign.nyquist(...,fs)
d = fdesign.nyquist(...,magunits)
where l is the Band.

More Answers (0)

Products


Release

R14SP2

Community Treasure Hunt

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

Start Hunting!