- `B = squeeze (A)`

Remove singleton dimensions from `A` and return the result.

Note that for compatibility with MATLAB&reg;/Octave, all objects have a minimum
of two dimensions and row vectors are left unchanged.

See also: `reshape`.

### References

- https://www.mathworks.com/help/matlab/ref/squeeze.html
- https://octave.sourceforge.io/octave/function/squeeze.html
