[SOLVED] MATLAB : Using a filter in the z-domain

Status
Not open for further replies.

Klen

Member level 1
Joined
Nov 15, 2010
Messages
36
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,288
Location
Germany
Activity points
1,602
Hello everyone.

I am simulating a MDFT polyphase filter bank in Matlab. To break it down very simple, the analysis and synthesis parts perform the following function:
1) Analysis: Input Signal (n domain) --> Downsample --> Filter through (typ 1) polyphase component of a prototype low filter --> Perform IDFT
2) Synthes: Analysis Output Signal --> DFT --> Filter through (typ 2) polyphase component..... --> Upsample --> Combine to form original signal

My question (hopefully) doesn't require detailed information about MDFT polyphase filter banks, but I have simply provided it for those interested.

I created a protoype filter and extracted the polyphase components from it. My polyphase components are n-domain filter coefficents.
Assumeing my coefficients to be g0, g1, g2 etc, in matlab to filter the signal I simply use filter(g(1:end) , 1, X) where X is the downsampled signal to be filtered. However, I noted that all the filter bank diagrams that I have display the polyphase filter as G0(z), G1(z), thus in z domain. I am now confused as to should I multiply the n coefficients with z^-n and run it through the same filter function, or use a special filter function meant for using z-domain filters, or something else.

I would very much appreciate your kind replies.

Thank you
Klen
 

Nevermind, found the problem. I am sorry for posting such a stupid question, I had to brush up my basic skills and then my question was immediately solved. Thank you for those who viewed the question and tried to answer.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…