I have a long row vector say,v=[1 2 3 … 100]. I'm in need to convert it into a matrix m=[1 2 3 4 5;6 7 8 9 10; ….. ;96 97 98 99 100] i.e),for each row 5 elements…Is it possible in matlab? if so how???
MATLAB: How to format vector as matrix
vector2matrix
Best Answer