Observe that the number of bits needed to represent the scaled filter coefficients
obtained in part 3 is greater than 16 bits.
(a) Determine the maximum word size we can use for scaling the input sequence
and represent the filter coefficients using 16 bit words without getting overflow when a 32 bit word is used for the output.
(b) Use the Matlab function firscale2 to scale the filter coefficients using this
word size for the input sequence.
(c) Repeat part 5 using the revised scaled filter coefficients. The input for this
part of the problem should be scaled to the new word size using fscale.
(d) Repeat part 6 to compare the output for the convolution of the revised fixed
point coefficients and the input scaled to the new word size with the output
from the floating point implementation.