Robust Control Toolbox™ Previous page   Next Page 
squeeze
 Provide feedback about this page

Remove singleton dimensions for umat objects

Syntax

Description

B = squeeze(A) returns an array B with the same elements as A but with all the singleton dimensions removed. A singleton is a dimension such that size(A,dim)==1. 2-D arrays are unaffected by squeeze so that row vectors remain rows.

See Also
permute     Permutes array dimensions.

reshape     Changes size of matrix


 Provide feedback about this page 

Previous page slowfast uss/ssbal Next page

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