harold.state_to_transfer¶
-
harold.state_to_transfer(state_or_abcd, output='system')¶ Converts a
Stateto aTransferIf the input is a
Transferobject 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
outputkeyword is set to'system'otherwise a 2-tuple of ndarrays is returned asnumanddenif theoutputkeyword is set to'polynomials'References
[1] Varga, Sima, 1981, DOI:10.1080/00207178108922980.