• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

【 MATLAB 】residuez 函数介绍(Z变换部分分数扩展)

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

residuez

Z-transform partial-fraction expansion

Syntax

[r,p,k] = residuez(b,a)
[b,a] = residuez(r,p,k) 

Description

residuez converts a discrete time system, expressed as the ratio of two polynomials, to partial fraction expansion, or residue, form. It also converts the partial fraction expansion back to the original polynomial coefficients.

residualz将离散时间系统(表示为两个多项式的比率)转换为部分分数扩展或留数形式。 它还将部分分数展开转换回原始多项式系数。

[r,p,k] = residuez(b,a) finds the residues, poles, and direct terms of a partial fraction expansion of the ratio of two polynomials, b(z) and a(z). Vectors b and a specify the coefficients of the polynomials of the discrete-time system b(z)/a(z) in descending powers of z.

[r,p,k] = residuez(b,a) 求出两个多项式b(z)和a(z)的比率的部分分数展开的留数,极点和直接项。 向量b和a以z的下降幂指定离散时间系统b(z)/ a(z)的多项式的系数。


上面的描述中我把所有的 residues 都翻译成了留数,事实上,我觉得这既不是一个中国词,又不是一个外国词,就是翻译者的意淫。

英文单词:residue 

  • n.残渣;残余物;【数】残数;【化】残基

  • 网络残留物;留数;剩余物

  • 变形复数:residues;

从这个翻译中我们可以看出它就是一个残留数,大概就是留的来源吧。

如下:

分子多项式除以分母多项式,得到第一项就是残留项,分子上的数就是残留数,就是所谓的留数,就这点东西,弄个留数,吓唬谁呢?

这个函数就是用来辅助处理 z变换的,一般而言,求解z反变换,按照定义求解一个围线积分,没人愿意用这种积分来恶心自己吧。于是我们可以使用部分分式分解,以及常用的z变换以及z变换的性质来求解z反变换。

部分分式分解,如上式,我们就遇到了留数和极点问题,这时我们就用本博文介绍的函数residuez来辅助求解。

下面这张图节选自课本上的一部分,大概看下即可。


继续上面的内容,刚刚是得到了b和a向量。

The returned column vector r contains the residues, column vector p contains the pole locations, and row vector k contains the direct terms. The number of poles is

n = length(a)-1 = length(r) = length(p)

The direct term coefficient vector k is empty if length(b) is less than length(a); otherwise:

length(k) = length(b) - length(a) + 1

If p(j) = ... = p(j+s-1) is a pole of multiplicity s, then the expansion includes terms of the form

[b,a] = residuez(r,p,k) with three input arguments and two output arguments, converts the partial fraction expansion back to polynomials with coefficients in row vectors b and a.

 

最后帮助文档说了一句话:

The residue function in the standard MATLAB® language is very similar to residuez. It computes the partial fraction expansion of continuous-time systems in the Laplace domain (see reference [1]), rather than discrete-time systems in the z-domain as does residuez.

它的意思是还有一个类似的函数叫 residue,这个函数是处理Laplace变换的。

想了解,自己去看!

这篇博文就到这里,具体的案例见下篇博文。

 

 

 

 

 


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
[matlab]并行matlabpool.m文件发布时间:2022-07-18
下一篇:
matlab学习之求解函数的根和极小值发布时间:2022-07-18
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap