Combine array of transfer functions into MIMO transfer function.
TransferFunction
or array_like
Transfer matrix represented as a two-dimensional array or list-of-lists containing TransferFunction
objects. The TransferFunction
objects can have multiple outputs and inputs, as long as the dimensions are compatible.
TransferFunction
Transfer matrix represented as a single MIMO TransferFunction
object.
List of strings that name the individual signals. If not given, signal names will be of the form ‘s[i]’ (where ‘s’ is one of ‘u’, or ‘y’). See InputOutputSystem
for more information.
System name (used for specifying signals). If unspecified, a generic name ‘sys[id]’ is generated with a unique integer id.
If timebase of transfer functions do not match.
If tf_array
has incorrect dimensions.
If the transfer functions in a row have mismatched output or input dimensions.
Examples
Combine two transfer functions:
>>> s = ct.tf('s') >>> ct.combine_tf( ... [[1 / (s + 1)], ... [s / (s + 2)]], ... name='G' ... ) TransferFunction( [[array([1])], [array([1, 0])]], [[array([1, 1])], [array([1, 2])]], name='G', outputs=2, inputs=1)
Combine NumPy arrays with transfer functions:
>>> ct.combine_tf( ... [[np.eye(2), np.zeros((2, 1))], ... [np.zeros((1, 2)), ct.tf([1], [1, 0])]], ... name='G' ... ) TransferFunction( [[array([1.]), array([0.]), array([0.])], [array([0.]), array([1.]), array([0.])], [array([0.]), array([0.]), array([1])]], [[array([1.]), array([1.]), array([1.])], [array([1.]), array([1.]), array([1.])], [array([1.]), array([1.]), array([1, 0])]], name='G', outputs=3, inputs=3)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4