squeeze

squeeze(x)

Remove inner and outer singleton dimensions from a matrix.

Try it yourself:

All functions