I have designed a filter in MATLAB and now I have to convert the filter coefficient in fixed point format from floating point format. For that my professor asked me to find histogram first and then find how many bits I required for fixed point representation. But I am not sure how to find that from histogram plot.

  • 1
    $\begingroup$ a histogram of what ?? $\endgroup$ Mar 26, 2021 at 19:37
  • $\begingroup$ Histogram of filter coefficient may be. I am not sure $\endgroup$ Mar 27, 2021 at 3:43
  • $\begingroup$ then with what distribution of values of the parameters (e.g. resonant frequency and Q) that determine the coefficients. if your prof wants you to determine the range of the coefficients so that you can set a range for your fixed-point representation, that can be done with math. is the filter you're designing IIR? second-order IIR? $\endgroup$ Mar 27, 2021 at 4:26
  • $\begingroup$ FIR. Filter has been designed. I know other methods to convert fixed point. But my prof wants to find it from Histogram plot. He wants to know how many minimum bits are required so that there is not significant difference in filter response after fixed point conversion $\endgroup$ Mar 27, 2021 at 5:56


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.