control.matlab.dcgain
- control.matlab.dcgain(sys) dcgain(num, den) dcgain(Z, P, k) dcgain(A, B, C, D)[source]
Compute the gain of the system in steady state.
The function takes either 1, 2, 3, or 4 parameters:
dcgain(sys)
dcgain(num, den)
dcgain(Z, P, k)
dcgain(A, B, C, D)
- Parameters:
- A, B, C, Darray_like
A linear system in state space form.
- Z, P, karray_like, array_like, number
A linear system in zero, pole, gain form.
- num, denarray_like
A linear system in transfer function form.
- sys
StateSpaceorTransferFunction A linear system object.
- Returns:
- gainndarray
The gain of each output versus each input:
.
Notes
This function is only useful for systems with invertible system matrix
A.All systems are first converted to state space form. The function then computes:
