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

这篇博文将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, aimpz chooses the number of samples and returns the response in the column vector, h, and the sample times in the column vector, tt = [0:n-1]' and n = length(t) is computed automatically.

[h,t] = impz(sos)returns the impulse response for the second-order sections matrix, sossos 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.

 

 

  • 2
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

李锐博恩

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值