Squeeze - Remove singleton dimensions from multidimensional signal

Library

Math Operations

Description

The Squeeze block removes singleton dimensions from its multidimensional input signal. A singleton dimension is any dimension whose size is one.

For example, the Squeeze block in the following diagram converts a multidimensional array of size 3-by-1-by-2 into a 3-by-2 signal.

Data Type Support

The Squeeze block accepts input signals of any dimension and of any data type that Simulink software supports, including fixed-point and enumerated data types. For a discussion on the data types supported by Simulink software, see Data Types Supported by Simulink.

Parameters and Dialog Box

Characteristics

Direct Feedthrough

Yes

Sample Time

Inherited from driving block

Scalar Expansion

N/A

Dimensionalized

Yes

Multidimensionalized

Yes

Zero Crossing

No

See Also

Reshape

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS