【 MATLAB 】impz函数介绍(数字滤波器的脉冲响应)

网友投稿 1678 2022-05-30

这篇博文将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-by-6 matrix, where the number of sections, K, must be greater than or equal to 2. If the number of sections is less than 2, impz considers the input to be a numerator vector. Each row of sos corresponds to the coefficients of a second order (biquad) filter. The ith row of the sos matrix corresponds to [bi(1) bi(2) bi(3) ai(1) ai(2) ai(3)].

[h,t] = impz(d) returns the impulse response of a digital filter, d. Use designfilt to generate d based on frequency-response specifications.

[h,t] = impz(...,n) computes n samples of the impulse response when n is an integer (t = [0:n-1]'). If n is a vector of integers, impz computes the impulse response at those integer locations, starting the response computation from 0 (and t = n or t = [0 n]). If, instead of n, you include the empty vector, [], for the second argument, the number of samples is computed automatically.

[h,t] = impz(...,n,fs) computes n samples and produces a vector t of length n so that the samples are spaced 1/fs units apart.

impz(...) with no output arguments plots the impulse response of the filter.

impz works for both real and complex input systems.

【 MATLAB 】impz函数介绍(数字滤波器的脉冲响应)

MATLAB

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:TI主推高性能TMS320C28x系列TMS320F2837x单/双核32位浮点微控制单元(MCU),主频高达200MHz,单/
下一篇:Python之joblib:joblib库的简介、安装、使用方法之详细攻略
相关文章