Working with matrices

augment3(X, Y, Z) Returns a matrix formed by putting matrices (or vectors) X, Y, and Z side by side. They must all have the same number of rows.

subcolor(M, ir, jr, ic, jc) Returns the submatrix from row ir to jr, column ic to jc, of packed color matrix M.

Arguments: