Scilab 6.0.1
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 — reshapes an array with the same number and order of components
- hypermatrices — a Scilab object, N dimensional matrix in Scilab
Report an issue | ||
<< resize_matrix | Matrix - shaping | Matrix operations >> |