Why Chebwin filter shows different frequency response?

2 views (last 30 days)
Hello,
I have two following filter design with Dolph-Chebyshev window as follows: When I take 512-point FFT to get frequency response of both filter I see different frequency sizes.
For filter-2, in frequency domain it shows 43 bins but for the first filter it has more than 33 bins although they use the same FFT size (512).
Could you please help explaining why they shows different frequency responses?
>> f1=chebwin(33, 60);
>> f2=chebwin(43, 60);
>> plot(abs(fftshift(fft(f1,512))))
>> hold on
>> plot(abs(fftshift(fft(f2,512))))
thanks in advance!!!

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!