dcgain
LTI 系统的低频 (DC) 增益
说明
k = dcgain(sys)
计算 LTI 模型 sys
的 DC 增益 k
。
连续时间
连续时间 DC 增益是在频率 s = 0 处的传递函数值。对于具有矩阵(A、B、C、D)的状态空间模型,此值为
K = D – CA–1B (1) 离散时间
离散时间 DC 增益是在 z = 1 处的传递函数值。对于具有矩阵(A、B、C、D)的状态空间模型,此值为
K = D + C(I – A)–1B (2)
示例
计算辨识模型的 DC 增益
加载估计数据。
load iddata1 z1
z1
是包含输入-输出估计数据的 iddata
对象。
根据数据估计过程模型。指定模型具有一个极点和一个时滞项。
sys = procest(z1,'P1D')
sys = Process model with transfer function: Kp G(s) = ---------- * exp(-Td*s) 1+Tp1*s Kp = 9.0754 Tp1 = 0.25655 Td = 0.068 Parameterization: {'P1D'} Number of free coefficients: 3 Use "getpvec", "getcov" for parameters and their uncertainties. Status: Estimated using PROCEST on time domain data "z1". Fit to estimation data: 44.85% FPE: 6.02, MSE: 5.901
计算模型的 DC 增益。
K = dcgain(sys)
K = 9.0754
此 DC 增益值存储在 sys
的 Kp
属性中。
sys.Kp
ans = 9.0754
提示
对于带积分器的系统,DC 增益为无限值。
版本历史记录
在 R2006a 之前推出
MATLAB 命令
您点击的链接对应于以下 MATLAB 命令:
请在 MATLAB 命令行窗口中直接输入以执行命令。Web 浏览器不支持 MATLAB 命令。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)