MATLAB: Converting vector to matrix

MATLABsimulink

Am beginner to this please tell me is there any function to convert vector to matrix.
vec=[0:4.80314960629921e-6:.00061]
which gives values from column 1 to column 128. i want to convert it to a matrix of 8 rows 16 columns.

Best Answer

reshape(vec,16,8)'