isctrb
Logical check for system controllability.
For numerical reasons, isctrb (sys)
should be used instead of rank (ctrb (sys))
.
Inputs
LTI model. Descriptor state-space models are possible. If sys is not a state-space model, it is converted to a minimal state-space realization, so beware of pole-zero cancellations which may lead to wrong results!
State matrix (n-by-n).
Input matrix (n-by-m).
Descriptor matrix (n-by-n).
If e is empty []
or not specified, an identity matrix is assumed.
Optional roundoff parameter. Default value is 0.
Outputs
System is not controllable.
System is controllable.
Number of controllable states.
Algorithm
Uses SLICOT AB01OD and TG01HD,
Copyright (c) 2020, SLICOT, available under the BSD 3-Clause
(License and Disclaimer).
See also: isobsv
Source Code: isctrb