transform a matrix into vector3 code example Example: transform a vector into a matrix M = reshape(V, 3, 3).';