Documentation

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.

skewdec

Form skew-symmetric matrix

Syntax

X = skewdec(m,n)

Description

X = skewdec(m,n) forms the m-by-m skew-symmetric matrix

[0(n1)(n2)(n+1)0(n3)(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.

Examples

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 =

     0    -3    -4
     3     0    -5
     4     5     0

See Also

|

Introduced before R2006a

Was this topic helpful?