I have a cell matrix and would like to merge these all columns together vertically. How can I do that?

1 view (last 30 days)
% this just gives me two cell vertically concatenated; I waould like to merge the data of these columns into one .
data_final = vertcat(data(:,1),data(:,2));

Accepted Answer

dpb
dpb on 2 Jun 2019
data=cell2mat(data.');

More Answers (0)

Categories

Find more on Creating and Concatenating Matrices in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!