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

2 次查看(过去 30 天)
% 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));

采纳的回答

dpb
dpb 2019-6-2
data=cell2mat(data.');

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by