Returns an array formed by placing arguments left to right. Arguments are arrays having the same number of rows or they are scalars and row vectors.

In the case of scalar values the augment function returns a row vector containing the list of arguments.

In the next example three row vectors

In order to obtain a matrix the vectors must be in column order. The three column vectors

The column vectors can easily be translated to rows in the matrix by applying the matrix transpose to the augment function.

See also

Return to