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);

 Risposta accettata

Star Strider
Star Strider il 15 Gen 2019

0 voti

‘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].’

Più risposte (0)

Prodotti

Release

R2018b

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by