# Documentation

### This is machine translation

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

# skewdec

Form skew-symmetric matrix

x = skewdec(m,n)

## Description

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

`$\left[\begin{array}{cccc}0& -\left(n-1\right)& -\left(n-2\right)& \dots \\ \left(n+1\right)& 0& -\left(n-3\right)& \dots \\ \left(n+2\right)& \left(n+3\right)& 0& \dots \\ \dots & \dots & \dots & \dots \\ \dots & \dots & \dots & \dots \end{array}\right]$`

This function is useful to define skew-symmetric matrix variables. In this case, set `n` to the number of decision variables already used.

## See Also

#### Introduced before R2006a

Was this topic helpful?

Get trial now