Second Order IIR Filter with 2 Inputs and 2 Outputs

Status
Not open for further replies.

djnik1362

Full Member level 2
Joined
Aug 9, 2010
Messages
136
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,298
Location
IRAN
Activity points
2,374
hi
I must use a IIR filter with x1 and x2 as inputs and y1 and y2 as outputs.
Relation between in and out is :

y1[n] = (1/k2) * (x1[n] - y1[n-1]) + (1/9 * k1) * (x2[n-1] - y2[n-2])
y2[n] = (1/k2) * (x2[n] - y2[n-1]) + (1/k1 ) * (x2[n-1] - y2[n-2])

I need some guide to analyze this filter.
How k1 and k2 determine filter response ?
How i can choose proper sampling frequency ?
Maybe a .m file from Matlab could be very useful.

Thanks for your support.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…