How do I convert a 2d matrix to a 3d matrix?
1 ビュー (過去 30 日間)
回答 (1 件)
Geoff Hayes 2022 年 6 月 6 日
result = cat(3, Ekc1, Ekc2, Ekc3, Ekc4, Ekc5);
Alternatively, rather then generating five equally sized matrices/variables,you could just insert them into a 24x24x5 array as each one is constructed...and then you would do away with these extra variables.