Filter transfer function using coefficients

조회 수: 11 (최근 30일)
mir  khadim
mir khadim 2019년 8월 31일
댓글: Star Strider 2019년 9월 4일
I have with me a low pass filter with coefficients given by , where reprents the filter reference frequency, k runs from -N/2 to N/2, where N is the order of the filter and h(k) is a hamming window function. The value of Coeff(0) is replaced by 1 when k=0. Now that i have my filter coefficients readily available with me, if i wish to find the transfer function of the same filter in order to find the amplitude and phase response of the filter. How do i do so. I guess whole point of my question is to how one can find the transfer function of a filter if the filter coefficients are given. Is there a command for that in matlab, or something else?

채택된 답변

Star Strider
Star Strider 2019년 8월 31일
Since you have the (a,b) vectors for your filter, use the freqz function to create the Bode plot from them. Your filter appears to be discrete. For a continuous filter, use the freqs function (linked to at the end of that page).
  댓글 수: 4
mir  khadim
mir khadim 2019년 9월 4일
Thanks a lot. it worked.
Star Strider
Star Strider 2019년 9월 4일
As always, my pleasure.

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

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by