how to add 4D matrix in row

5 次查看(过去 30 天)
M M Nabi
M M Nabi 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)

请先登录,再进行评论。

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Geometric 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