这篇博文将MATLAB 帮助文档上的内容简单的贴上,便于我写其他博文引用,以及查看使用。
impz
Impulse response of digital filter
Syntax
[h,t] = impz(b,a)
[h,t] = impz(sos)
[h,t] = impz(d)
[h,t] = impz(...,n)
[h,t] = impz(...,n,fs)
impz(...)
Description
[h,t] = impz(b,a)
returns the impulse response of the filter with numerator coefficients, b
, and denominator coefficients, a
. impz
chooses the number of samples and returns the response in the column vector, h
, and the sample times in the column vector, t
. t = [0:n-1]'
and n
= length(t)
is computed automatically.
[h,t] = impz(sos)
returns the impulse response for the second-order sections matrix, sos
. sos
is a K