Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

dcgain

Low-frequency (DC) gain of LTI system

Syntax

k = dcgain(sys)

Description

k = dcgain(sys) computes the DC gain k of the LTI model sys.

Continuous Time

The continuous-time DC gain is the transfer function value at the frequency s = 0. For state-space models with matrices (ABCD), this value is

K = D – CA–1B

Discrete Time

The discrete-time DC gain is the transfer function value at z = 1. For state-space models with matrices (ABCD), this value is

K = D + C (I – A)–1B

Examples

Example 1

To compute the DC gain of the MIMO transfer function

H(s)=[1s1s2+s+31s+1s+2s3]

type

H = [1 tf([1 -1],[1 1 3]) ; tf(1,[1 1]) tf([1 2],[1 -3])];
dcgain(H)

to get the result:

ans =
    1.0000   -0.3333
    1.0000   -0.6667

Example 2

To compute the DC gain of an identified process model, type;

load iddata1
sys = idproc('p1d');
syse = procest(z1, sys)

dcgain(syse)

The DC gain is stored same as syse.Kp.

More About

collapse all

Tips

The DC gain is infinite for systems with integrators.

See Also

|

Introduced in R2012a

Was this topic helpful?