skew

Purpose

Defines a skew symmetric matrix variable

Synopsis

X=skew;

X=skew(n);

Description

This program defines an “abst” data of type “variable”, representing a skew symmetric matrix of size n-by-n, where n is the only input argument (default n = 2).

Example

To define matrix variable

$$X=\begin{bmatrix}0 & x_{1} & x_{2}\\-x_{1} & 0 & x_{3}\\-x_{2} & -x_{3} & 0\end{bmatrix}$$

type

>> X=skew(3);

See also

diagonal, rectangular, symmetricvariable