Hi, i have done an awfull lot of my assignment but am stuck on a few things, i have to randomly choose to poles and zeros on a zplane of a biquad iir filter. I was just wondering how the difference equation should be calculated manually? I have used [b,a] = zp2tf (z,p,1); to calculate the a and b coefficients for the difference equation and used freqz to plot the frequency response, i was just wondering how one would do this manually?
Also the only other bit i am stuck on is how to invert the BiQuad? Do i just use the same m file and add inverted zeros and poles to it?
Any help is appreciated thanks! If any more information is needed i can provide that also!
Also the only other bit i am stuck on is how to invert the BiQuad? Do i just use the same m file and add inverted zeros and poles to it?
Any help is appreciated thanks! If any more information is needed i can provide that also!