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

1 Ansicht (letzte 30 Tage)
% 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));

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by