vectify.m 186 B

12345678
  1. % [VEC] = columnize(MTX)
  2. %
  3. % Pack elements of MTX into a column vector. Just provides a
  4. % function-call notatoin for the operation MTX(:)
  5. function vec = columnize(mtx)
  6. vec = mtx(:);