Scilab 6.0.0
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
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
- matrix — reshape a vector or a matrix to a different size matrix
- hypermatrices — a Scilab object, N dimensional matrix in Scilab
Report an issue | ||
<< resize_matrix | Matrix - shaping | Matrix operations >> |