resize

resize(x, size)

resize(x, size, defaultValue)

Resize a matrix.

Try it yourself:

All functions