This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.


Total number of decision variables in system of LMIs


ndec = decnbr(lmisys)


The function decnbr returns the number ndec of decision variables (free scalar variables) in the LMI problem described in lmisys. In other words, ndec is the length of the vector of decision variables.


For an LMI system lmis with two matrix variables X and Y such that

  • X is symmetric block diagonal with one 2-by-2 full block, and one 2-by-2 scalar block

  • Y is 2-by-3 rectangular,

the number of decision variables is

ndec = decnbr(LMIs)

ndec = 

This is exactly the number of free entries in X and Y when taking structure into account (see decinfo for more details).

See Also

| |

Introduced before R2006a

Was this topic helpful?