MATLAB: I have one cell V of order 1X3 and each cell has matrix of order 500X5 and i want to create matrix V of order 500X5 .please give me solution

MATLAB

V = 1X3 cell
V{1} = 500X5, V{2}= 500X5, V{3}= 500X5
i want one single matrix of order 500X5.

Best Answer

Best way is to store them in a 3D matrix:
V{1} = rand(500,5); % an example
V{2} = rand(500,5);
V{3} = rand(500,5);
v=[V{:}];
VV=reshape(v,500,5,[]);