deflate

Version:

Removes singleton dimensions from arrays of any dimension. For example, deflate transforms a 3-by-1-by-4 matrix to a 3-by-4 matrix. deflate does not change 2D matrices.

Syntax

c = deflate(a)
Legacy name: squeeze

a

Array of any dimension.

c

Array of any dimension. a with the singleton dimensions removed.

Where This Node Can Run:

Desktop OS: Windows

FPGA: This product does not support FPGA devices