<< care | Control System functions | compreal >> |
model = cloop(sys) |
model = cloop(sys, sign) |
model = cloop(sys, outputs, inputs) |
LTI model.
Type of feedback: -1 (default) or +1.
vector indexes into the outputs.
vector indexes into the inputs.
Closed-loop system.
cloop forms the closed-loop system when unity feedback is used.
This function is deprecated and has limitations, please see feedback. It is only applicable when the block in the feedback path is unity. Furthermore, its usage is restricted to system models expressed solely in transfer function form, and not in the more general "system".
m = 1000;
b = 50;
u = 500;
A = [0 1; 0 -b/m];
B = [0; 1/m];
C = [0 1];
D = 0;
OUTPUTS = -1;
INPUTS = 1;
sys = ss(A, B, C, D);
R = cloop(sys, OUTPUTS, INPUTS)
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET