MATLAB: Does the CHEBWIN function give incorrect results in Signal Processing Toolbox 6.1 (R13SP1)

chebwinlobemagnitudemainSignal Processing Toolbox

When I use the following code:
wvtool(chebwin(4096,30))
The main lobe of the time response does not have a peak at 1.0 as expected. However, if I use the code:
wvtool(chebwin(4096,60))
I receive a peak amplitude of 1.0. I should receive a peak amplitude of 1.0 in all situations.

Best Answer

This enhancement has been incorporated in Release 14 Service Pack 3 (R14SP3). For previous product releases, read below for any possible workarounds:
This is a bug in Signal Processing Toolbox 6.1 (R13SP1) in the way that CHEBWIN handles the main lobe calculations..
There are no workarounds.