Given values of decision variables, derive corresponding values of matrix variables
valX = dec2mat(lmisys,decvars,X)
Given a value decvars
of the vector of decision variables, dec2mat
computes the corresponding value valX
of the matrix variable with identifier X
. This identifier is returned by lmivar
when declaring the matrix variable.
Recall that the decision variables are all free scalar variables in the LMI problem and correspond to the free entries of the matrix variables X1, . . ., XK. Since LMI solvers return a feasible or optimal value of the vector of decision variables, dec2mat
is useful to derive the corresponding feasible or optimal values of the matrix variables.
See the description of feasp
.