squeeze
Remove dimensions of length 1.
Syntax
B = squeeze(A)
Input argument
A - input array: multidimensional array
Output argument
B - output array.
Description
B = squeeze(A) returns an array with the same elements as the input array A, but with dimensions of length 1 removed.
Example
See also
History
Version
Description
1.0.0
initial version
Author
Allan CORNET
Last updated