squeeze
hypOut = squeeze(hypIn)
:hypIn hypermatrix or matrix of constant type. : :hypOut hypermatrix or matrix of constant type. :
Remove singleton dimensions of a hypermatrix, that is any dimension for which the size is 1. If the input is a matrix, it is unaffected.
M1 = `zeros`_(2,1,5)
squeeze(M1)
squeeze(M1(:,:,1))
M2 = `hypermat`_([2 1 2 1],1:4)
squeeze(M2)