Form skew-symmetric matrix
X = skewdec(m,n)
X = skewdec(m,n) forms the m-by-m skew-symmetric matrix
[0−(n+1)−(n+2)…(n+1)0−(n+3)…(n+2)(n+3)0………………………]
This function is useful to define skew-symmetric matrix variables. In this case, set n to the number of decision variables already used.
n
collapse all
Create a 3-by-3 skew-symmetric matrix for an LMI problem in which n = 2. Display the matrix to verify its form.
X = skewdec(3,2)
X = 3×3 0 -3 -4 3 0 -5 4 5 0
decinfo | lmivar
decinfo
lmivar
You have a modified version of this example. Do you want to open this example with your edits?