The function chebwin in Matlab R2018b has a 1-point step at both ends when using many points.
Is that a bug?
see:
L = 8192;
bw = chebwin(L,100);
plot(bw);

 Accepted Answer

Star Strider
Star Strider on 15 Jan 2019

0 votes

‘Is that a bug?’
It doesn’t seem to be, at least if I understand what you’re referring to.
From the documentation for the chebwin function:
‘An artifact of the equiripple design method used in chebwin is the presence of impulses at the endpoints of the time-domain response. This is due to the constant-level sidelobes in the frequency domain. The magnitude of the impulses are on the order of the size of the spectral sidelobes. If the sidelobes are large, the effect at the endpoints may be significant. For more information on this effect, see [2].’

More Answers (0)

Products

Release

R2018b

Tags

Asked:

on 15 Jan 2019

Answered:

on 15 Jan 2019

Community Treasure Hunt

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

Start Hunting!