https://se.mathworks.com/help/dsp/ref/dsp.ciccompensationdecimator-system-object.html
dsp.CICCompensationDecimator - Compensate for CIC decimation filter using FIR decimator - MATLAB
You can compensate for the shortcomings of a CIC decimator, namely its passband droop and wide transition region, by following it with a compensation decimator.
dspcompensatecic