I want to calculate the number of MACs. I am looking for the method.

How would I do it if I know the domain equations from a biquadratic digital filter. I have already calculated the Z domain equations, i know X(z), Y(z) and already calculated my zeros and poles, I also have all the A and B values.

enter image description here

enter image description here

enter image description here

  • 1
    $\begingroup$ what do you call a MAC in big O notation? Big MACS $\endgroup$ – user28715 Jul 9 '19 at 15:53
  • 1
    $\begingroup$ why the two $H(z)$ formulas? And, considering you already have a processing block diagram, where's the problem reading the number of multiply-accumulates (per output sample, I'd guess? You're not specifying that.) from the block diagram? $\endgroup$ – Marcus Müller Jul 9 '19 at 16:27
  • $\begingroup$ Sorry the a,b,c,d,e values from the block diagram are as follows:a=0.39, b=-0.01, c=0.22, d=-0.65, e =0.02 $\endgroup$ – Gary Hand Jul 9 '19 at 16:46
  • $\begingroup$ you need 5 multiplications and 2 additions. $\endgroup$ – Ben Jul 9 '19 at 16:51
  • $\begingroup$ I am trying to understand how i calculate the number of MACs the system needs based on the info i have, can you explain what you mean by 5 multiplications and 2 additions? $\endgroup$ – Gary Hand Jul 9 '19 at 17:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.