dcgain (Control Design and Simulation Module, MathScript Function)
Member of the dynchar class.
Syntax
DC = dcgain(SysIn)
Description
Calculates the DC gain of the SysIn system model. The DC gain is the ratio of the outputs to the inputs of a model after all transients decay.
Inputs
Name | Description |
SysIn | Specifies a linear time-invariant (LTI) model in transfer function, zero-pole-gain, or state-space form. |
Outputs
Name | Description |
DC | Returns the DC gain of the SysIn model. DC is a two-dimensional array where the ij-th element corresponds to the DC gain of the model due to the i-th output and j-th input. DC is a real matrix. |
Examples
SysIn = tf([1], [1, 1])DC = dcgain(SysIn)