MATLAB: I am working on a serial data and need to convert it from serial to parallel data.i have a matrix of 7500 x 1, and i need to divide it into 10 individual matrices of 750 x 1.

i can use reshape and vec2mat.but it convert it into one matrix of 750 x 10

Best Answer

It is simple to split a matrix into matrices in a cell array using mat2cell, e.g.:
C = mat2cell(V,750*ones(10,1),1)
or using num2cell:
C = num2cell(reshape(V,[],10),1)
Do NOT try to automatically create matrices in the workspace: read this to know why: