calcul.io
math playground
New
calculation
Help
Instructions
Examples
Functions
Constants
Display Debug info
Functions
Matrix
squeeze
squeeze
squeeze(x)
Remove inner and outer singleton dimensions from a matrix.
Try it yourself:
$1
a = zeros(3,2,1)
$2
size(squeeze(a))
$3
b = zeros(1,1,3)
$4
size(squeeze(b))
See also:
concat
det
diag
identity
inv
ones
range
size
subset
trace
transpose
zeros
All functions