Concatenate three-dimensional matrices

52 ビュー (過去 30 日間)
Sergio Orasch
Sergio Orasch 2022 年 6 月 16 日
回答済み: Simon Chan 2022 年 6 月 16 日
Hello,
I need to concatenate two three-dimensional matrices, however I cannot come up with the required dimensions.
% input
A = [2x2x6]
B = [2x2x4]
% C -> concatenation of A and B
C = [2x2x10] -> required dimensions
cat(1,A,B) does not work for this purpose, does anyone have an idea? Thanks

採用された回答

Simon Chan
Simon Chan 2022 年 6 月 16 日
This is the third dimension, hence cat(3,A,B)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCreating and Concatenating Matrices についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by