MATLAB: How to split one column with 744 rows into 31 columns with 24 values.

homeworkMATLAB

I have one column with 744 rows of random values, how do I use a for loop to create a different array of 31 columns for every 24 row (since 744/24 = 31).

Best Answer

A = your column vector
result = reshape(A,24,31);
Related Question