# filter clarity needed - does no. of coefficients = order = no. of poles and zeros?

조회 수: 9 (최근 30일)
Tom 2012년 5월 21일
does the no. of filter coefficients also equal the order and also the no. of poles and zeros?
thanks
##### 댓글 수: 1이전 댓글 -1개 표시이전 댓글 -1개 숨기기
Matt Fig 2012년 11월 2일
Tom's question
does the no. of filter coefficients also equal the order and also the no. of poles and zeros?
thanks

댓글을 달려면 로그인하십시오.

### 채택된 답변

Wayne King 2012년 5월 21일
No, not the number of coefficients, but there is a relationship with the order. The order is one less than the number of coefficients. Remember there is a 0-th order coefficient.
For the rational systems that you are dealing with, the number of poles and zeros will be the same and that will be equal to the largest order (numerator or denominator).
If you use butter(), ellip(), then MATLAB will return identical orders for both the numerator and denominator.
[b,a] = butter(10,0.2);
isequal(length(b),length(a))
There will be 10 poles and 10 zeros.
But note that even if the numerator and denominator orders are different.
B = 1;
A = [1 -0.5 0.2];
zplane(B,A)
The number of zeros and poles are identical and that number is equal to the highest order of the numerator or denominator. In the above that is 2.
##### 댓글 수: 1이전 댓글 -1개 표시이전 댓글 -1개 숨기기
Tom 2012년 5월 21일
Thanks loads Wayne - I think I'm getting it now.
From a block diagram I can work out the order (no. of previous input or output values required for the filter to work), the no. of coefficients is one more than this because of the 0th order, i can work out the difference equation, then the Z-transform function, and if I put that into a form that has only positive power values then the roots of the numerator give the zeros (where the filter response is zero) and the roots of the denominator give the poles (where the filter response is maximal).
Does this all sound right?

댓글을 달려면 로그인하십시오.

### 카테고리

Help CenterFile Exchange에서 Filter Analysis에 대해 자세히 알아보기

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by