From MPT3 Wiki

UI: Invariance

Computation of invariant sets

In MPT3, invariant sets are computed via the toInvariant method. When applied to an autonomous system, the method computes the maximal positively invariant set. When applied to a non-autonomous system, the maximal control invariant set is computed.

Example

% computes a control invariant set for LTI system x^+ = A*x+B*u
system = LTISystem('A', [1 1; 0 0.9], 'B', [1; 0.5]);
system.x.min = [-5; -5];
system.x.max = [5; 5];
system.u.min = -1;
system.u.max = 1;
InvSet = system.invariantSet()
InvSet.plot()
Retrieved from https://www.mpt3.org/UI/Invariance
Page last modified on July 27, 2013, at 10:57 PM