MATLAB: I have A=150×1 matrix, i want to create another matrix of size B=15×10 where the 1st column contains 1st 15 data of matrix A and the 2nd column can contain the next 15 data and so one. So please help

matrix array

for i=1:10 for j=1:15 p=cat(2,u((i*(j)))); end end

Best Answer

reshape(A,15,[])