MATLAB: How to combine two different vectors into a cell array

vectors to cell array

e.g
v=[3,6,4...]
b=[5,3,1,...]
C=cell array containing v and b

Best Answer

Try this:
C{1} = v;
C{2} = b;
If that's not what you want, then be more explicit.