Scilab 6.0.0
Scilab Help >> Elementary Functions > Matrix manipulation > squeeze
squeeze
removes singleton dimensions of a hypermatrix
Syntax
hypOut = squeeze(hypIn)
Arguments
- hypIn
a hypermatrix or matrix of constant type.
- hypOut
a hypermatrix or matrix of constant type.
Description
The squeeze
function removes singleton dimensions of a
hypermatrix, that is any dimension for which the size is 1
. If
the input hypIn
is a matrix, it is unaffected.
See Also
- hypermat — initializes an N dimensional matrix
- hypermatrices — a Scilab object, N dimensional matrix in Scilab
Comments
Add a comment:
Please login to comment this page.