Function Reference
— Function File: shift (x, b)
— Function File: shift (x, b, dim)

If x is a vector, perform a circular shift of length b of the elements of x.

If x is a matrix, do the same for each column of x. If the optional dim argument is given, operate along this dimension