reshape

reshape(x, sizes)

Try it yourself:

See also:
All functions