2nd order filters in the z-transform domain. e.g.,
H(z) = 1.31951*(z^2+0.218046*z+1)/(z^
I want to create test points on the unit circle, which is easy to do.
The question is how does the tolerance work for complex numbers, does
it test the real and imaginary parts for tolerance or does it test the
magnitude of the difference?
Second question, I noted that the random number generator for the
magnitude and phase of the poles and zeros is affected by the
tolerance. This seems odd, but I had a similar problem with the
tolerance affecting conditional statements. Is there anyway around
this, other than setting the tolerance small for the random generation
and higher for the answer checker?