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. Related SolutionsMATLAB: How to create a 1×3 cell array to hold multiple individual arrays my_cell_array = {a,b,c};Or if you are simply asking how to pre-allocate the cell array in advance:my_cell_array = cell(1,3); MATLAB: Combining cells a = [Names1{1, 1:6}]; Related QuestionCell array to vector using cell2matIs there a method to extract all the data from a nested cell array when each nested cell is of a different sizeCombining three cell array of different sizesHow to Combine two Cell Array to be 1 cell arrayCombine two cell array of different dimensionDisplay contents of cell array and a vector togetherCombining Cells into a single cell
Best Answer