@lti/mconnect
Function File: sys = mconnect (sys, m)
Function File: sys = mconnect (sys, m, inputs, outputs)
Arbitrary interconnections between the inputs and outputs of an LTI model.
Inputs
Outputs
Example
Solve the system equations of
y(t) = G e(t)
e(t) = u(t) + M y(t)
in order to build
y(t) = H u(t)
The matrix M for a (p-by-m) system G
has m rows and p columns (m-by-p).
Example for a 3x2 system:
u1 = -1*y1 + 5*y2 + 0*y3
u2 = pi*y1 + 0*y2 - 7*y3
| -1 5 0 |
M = | pi 0 7 |
|
Source Code: @lti/mconnect