I have a column vector I want to convert to a cell array such as:
A = rand(10,1); B = cell(10,1); for i=1:10 B{i} = A(i); end B = [0.6221] [0.
Use the function num2cell:
B = num2cell(A);
Works with matrices too.