<< sqrt | Elementary functions | sub2ind >> |
B = squeeze(A) |
input array: multidimensional array
output array.
B = squeeze(A) returns an array with the same elements as the input array A, but with dimensions of length 1 removed.
A = zeros(1, 1, 3);
A(:, :, 1:3) = [1 20 3];
R = squeeze(A)
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET