how to add 4D matrix in row

4 ビュー (過去 30 日間)
M M Nabi
M M Nabi 2021 年 6 月 29 日
回答済み: Scott MacKenzie 2021 年 6 月 29 日
I have 3 Matrix set
A = image(5,4, 3 , 100) , image size (5 by 4), 3 channel, 100 samples
B = image(5,4,3 , 150)
C = image( 5, 4,3, 200)
How can I add these 3 matrixes to generate D = image(5,4,3, 450) ?
  2 件のコメント
Scott MacKenzie
Scott MacKenzie 2021 年 6 月 29 日
By "add" it looks as though you mean concatenate. If so, then
D = cat(4, A, B, C)
M M Nabi
M M Nabi 2021 年 6 月 29 日
It worked, thank you @Scott MacKenzie

サインインしてコメントする。

回答 (1 件)

Scott MacKenzie
Scott MacKenzie 2021 年 6 月 29 日
OK, then...
D = cat(4, A, B, C)

カテゴリ

Help Center および File ExchangeGeometric Transformation and Image Registration についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by