Feedback interconnection between two I/O systems.
InputOutputSystem
I/O systems to combine.
The sign of feedback. sign=-1
indicates negative feedback (default), and sign=1
indicates positive feedback.
InputOutputSystem
Feedback interconnection of the systems.
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.
List of names for system states. If not given, state names will be of of the form ‘x[i]’ for interconnections of linear systems or ‘<subsys_name>.<state_name>’ for interconnected nonlinear systems.
System name (used for specifying signals). If unspecified, a generic name ‘sys[id]’ is generated with a unique integer id.
If sys1
does not have as many inputs as sys2
has outputs, or if sys2
does not have as many inputs as sys1
has outputs.
If an attempt is made to perform a feedback on a MIMO TransferFunction
object.
Notes
This function is a wrapper for the feedback
function in the I/O system classes. It calls sys1.feedback if sys1
is an I/O system object. If sys1
is a scalar, then it is converted to sys2
’s type, and the corresponding feedback function is used.
Examples
>>> G = ct.rss(3, inputs=2, outputs=5) >>> C = ct.rss(4, inputs=5, outputs=2) >>> T = ct.feedback(G, C, sign=1) >>> T.ninputs, T.noutputs, T.nstates (2, 5, 7)
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