How to construct a vector cell array from two cells with different dimensions

1 次查看(过去 30 天)
Hi all,
I have cells called "Station_ID_1" and "Station_ID_2"."Station_ID_1" is a 1*2 cell (each cell is 1000*1 cell) and "Station_ID_2" is a 547*1. How can I have 2547*1 cell? (Both cells have been attached here)

采纳的回答

DGM
DGM 2022-12-30
Perhaps something like this?
allstationID = [vertcat(Station_ID_1{:}); Station_ID_2]
  3 个评论

请先登录,再进行评论。

更多回答(0 个)

类别

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

标签

Community Treasure Hunt

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

Start Hunting!

Translated by