# reverse_vector

Version:

Reverses the input array.

## Syntax

b = reverse_vector(a)
Legacy name: wrev

## a

Array of any dimension. MathScript flattens the array a to the vector you want to reverse, if necessary.

## b

Reversed vector. b is a vector of the same size as a.

A = 1:10;
B = reverse_vector(A)
C = 'abcdefghijklmnopqrst';
D = reverse_vector(C)

Where This Node Can Run:

Desktop OS: Windows

FPGA: This product does not support FPGA devices