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

1 vue (au cours des 30 derniers jours)
% 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));

Réponse acceptée

dpb
dpb le 2 Juin 2019
data=cell2mat(data.');

Plus de réponses (0)

Catégories

En savoir plus sur Creating and Concatenating Matrices dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by