How do I design odd ordered filters using the FIRRCOS function in Signal Processing Toolbox?

Technical Source
2 min readMar 8, 2021

--

I would like to design an odd ordered FIR raised cosine filter using the following code:

coefs = firrcos(255, 364e3/2, 0.4, 17.6832e6, 'rolloff');

When I do so, however, the results appear to be the same as if I had used the following code:

coefs = firrcos(256, 364e3/2, 0.4, 17.6832e6, 'rolloff');

and then removed a single coefficient.

ANSWER

Matlabsolutions.com provide latest MatLab Homework Help,MatLab Assignment Help for students, engineers and researchers in Multiple Branches like ECE, EEE, CSE, Mechanical, Civil with 100% output.Matlab Code for B.E, B.Tech,M.E,M.Tech, Ph.D. Scholars with 100% privacy guaranteed. Get MATLAB projects with source code for your learning and research.

This enhancement has been incorporated in Signal Processing Toolbox 6.5 (R2006a).

For product releases since R2006a, the FIRRCOS function can only be used to design even-ordered filters.

The reason it is not possible to design an odd order raised cosine filter is because theoretically it does not make sense to have such design.

The algorithm for the function FIRRCOS is to sample the impulse response of a raise cosine rolloff filter at N (where N is the filter order) sample times starting at -(N/2)/Fs and ending at (N/2)/Fs.

SEE COMPLETE ANSWER CLICK THE LINK

--

--

Technical Source
Technical Source

Written by Technical Source

Simple! That is me, a simple person. I am passionate about knowledge and reading. That’s why I have decided to write and share a bit of my life and thoughts to.

No responses yet