# minus1

Version:

Computes the unary minus of the input elements. minus1(a) is equivalent to -a.

## Syntax

c = minus1(a)
Legacy name: uminus

## a

Scalar or array of any dimension.

## c

-a. c is a scalar or an array of the same size as a. If the input is not numeric, the output is a double type.

A = [1, -2, 3]
C = minus1(A)

Where This Node Can Run:

Desktop OS: Windows

FPGA: Not supported