control.dcgain
- control.dcgain(sys)[source]
Return the zero-frequency (or DC) gain of the given system.
- Parameters
- sysLTI
System for which the zero-frequency gain is computed.
- Returns
- gainndarray
The zero-frequency gain, or (inf + nanj) if the system has a pole at the origin, (nan + nanj) if there is a pole/zero cancellation at the origin.
Examples
>>> G = ct.tf([1], [1, 2]) >>> ct.dcgain(G) np.float(0.5)