Robust Control Toolbox™ Previous page   Next Page 
imp2exp
 Provide feedback about this page

Convert implicit linear relationship to explicit input-output relation

Syntax

Description

B = imp2exp(A,yidx,uidx) transforms a linear constraint between variables Y and U of the form A(:,[yidx;uidx])*[Y;U] = 0 into an explicit input/output relationship Y = B*U. The vectors yidx and uidx refer to the columns (inputs) of A as referenced by the explicit relationship for B.

The constraint matrix A can be a double, ss, tf, zpk and frd object as well as an uncertain object, including umat, uss and ufrd. The result B will be of the same class.

Example

Scalar Algebraic Constraint

Consider the constraint 4y + 7u = 0. Solving for y gives y = 1.75u. You form the equation using imp2exp:

and then

yields B equal to -1.75.

Matrix Algebraic Constraint

Consider two motor/generator constraints among 4 variables [V;I;T;W], namely [1 -1 0 -2e-3;0 -2e-3 1 0]*[V;I;T;W] = 0. You can find the 2-by-2 matrix B so that [V;T] = B*[W;I] using imp2exp.

You can find the 2-by-2 matrix C so that [I;W] = C*[T;V]

Uncertain Matrix Algebraic Constraint

Consider two uncertain motor/generator constraints among 4 variables [V;I;T;W], namely [1 -R 0 -K;0 -K 1 0]*[V;I;T;W] = 0. You can find the uncertain 2-by-2 matrix B so that [V;T] = B*[W;I].

Scalar Dynamic System Constraint

Consider a standard single-loop feedback connection of controller C and an uncertain plant P, described by the equations e=r-y, u=Ce; f=d+u; y=Pf.

Algorithm

The number of rows of A must equal the length of yidx.

See Also
iconnect    Equates expressions for icsignal objects

inv         Forms the system inverse


 Provide feedback about this page 

Previous page icsignal imp2ss Next page

 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS