The process of implementing a discrete model in C++/Arduino
You can write your system as \$H(z)=\dfrac{B(z)}{A(z)}\$ the use a recursive formula for IIR filter where you have A and B coefficients. Before you have to change the form to have denominator like \$ A(z) = 1+a1\cdot z^{-1}+ a2\cdot z^{-2}+..\$ by multiplying your form