dcgain (MathScript RT Module Function)
- Updated2023-03-14
- 1 minute(s) read
dcgain (MathScript RT Module Function)
Owning Class: dynchar
Requires: Control Design and Simulation Module and MathScript RT Module
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. |
Details
The following table lists the support characteristics of this function.
| Supported in the LabVIEW Run-Time Engine | Yes |
| Supported on RT targets | Yes |
| Suitable for bounded execution times on RT | Not characterized |
Examples
SysIn = tf([1], [1, 1])
DC = dcgain(SysIn)