FUNCTION REFERENCE

dcgain

Evaluate the steady constant-input gain of an LTI model.

Evaluate the steady constant-input gain of an LTI model.

Syntax

k = dcgain(sys)

`k=dcgain(sys)` evaluates a SISO rational model at s=0 or z=1. An uncancelled

DC pole can give Inf or NaN; use minreal explicitly when cancellation is

intended. For MIMO ss, solves (-A)*X=B or (I-A)*X=B and returns D+C*X.

A singular MIMO DC solve is rejected; an explicit inverse is never formed.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.