Description Usage Arguments Details Value See Also Examples
cloop
forms a closed feedback loop for a state-space or transfer function system
1 | cloop(sys, e, f)
|
sys |
LTI system model of transfer-function or state-space model |
e |
inputs vector |
f |
outputs vector |
Other possible usages of cloop
:
cloop(sys)
cloop(sys, sgn)
If sys
is a state-space model, cloop(sys, SGN)
produces a state-space model
of the closed-loop system obtained by feeding all the outputs of
the system to all the inputs. Positive feedback is used when SGN <- 1 and negative
when SGN <- -1
If sys
is a transfer function model, cloop(sys, SGN)
produces the SISO closed loop
system in transfer function form obtained by unity feedback with
the sign SGN.
cloop(sys,OUTPUTS,INPUTS) forms the closed
loop system obtained by feeding the specific outputs into
specific outputs. The vectors OUTPUTS
and INPUTS
contain indices
into the outputs and inputs of the system respectively. Positive
feedback is assumed. To form closed loop with negative feedback, negative values are used in the vector INPUTS
.
Returns a closed feedback loop system
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.