functionconditionNumbers

Calculate several condition numbers to evaluate a pole assignment method

Extends from Modelica.Icons.Function (Icon for functions).

Information

Inputs

TypeNameDefaultDescription
Real[:,:]Kstate feedback matrix
Complex[:,:]Xright eigenvectors of the closed loop system
Complex[size(X, 1)]assignedPolesfill(Complex(0), size(X, 1))
Complex[size(X, 1)]calcPolesfill(Complex(0), size(X, 1))

Outputs

TypeNameDefaultDescription
Realkappa2Xcondition number kappa_2(X) = ||X||_2 * ||inv(X)||_2
RealkappaFroXcondition number kappa_F(X) = ||X||_F * ||inv(X)||_F
RealkappaFroYTcondition number kappa_F(YT) = ||YT||_F * ||inv(YT)||_F
RealcInfcondition number vu1=||c||_inf = max(c_j)
Realnorm2KEuclidean norm of the feedback matrix
RealnormFroKFrobenius norm of the feedback matrix
Realkappa2X_Bcondition number by Byers, kappa_2XB(X) = (||X||_F)^2 + (||inv(X)||_F)^2
Real[11]JXKcondition number by Varga, JKX=alpha*(kappa2X_B)/2 + (1-alpha)*normFroK^/22
Realdlgap between the assigned and the calculated poles dl=norm(ap-cp)/max(1,norm(ap))