# MATLAB: Matrix manipulation, turning a column vector into a square matrix

matrix manipulation

say i have a matrix with things in it, and things are each column vectors 10000 in length,
data = [ thing1(:) thing2(:) thing3(:) thing4(:) ]
how can i manipulate data so that i can turn each of these things into separate outputs that are 100*100 in size
thanks

• thing100x100 = rehape(thing1, [100, 100]); % Reshape 10,000 elements into 100x100