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

1 visualización (últimos 30 días)
% 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));

Respuesta aceptada

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

Más respuestas (0)

Categorías

Más información sobre Creating and Concatenating Matrices en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by