harold.state_to_transfer¶
-
harold.
state_to_transfer
(state_or_abcd, output='system')¶ Converts a
State
to aTransfer
If the input is a
Transfer
object it returns the argument with no modifications.The algorithm [1] can be summarized as iterating over every row/columns of C/B to get SISO Transfer representations via \(c(sI-A)^{-1}b+d\).
Parameters: Returns: G (Transfer, tuple) – If
output
keyword is set to'system'
otherwise a 2-tuple of ndarrays is returned asnum
andden
if theoutput
keyword is set to'polynomials'
References
[1] Varga, Sima, 1981, DOI:10.1080/00207178108922980.