how to add 4D matrix in row

5 Ansichten (letzte 30 Tage)
M M Nabi
M M Nabi am 29 Jun. 2021
Beantwortet: Scott MacKenzie am 29 Jun. 2021
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 Kommentare
Scott MacKenzie
Scott MacKenzie am 29 Jun. 2021
By "add" it looks as though you mean concatenate. If so, then
D = cat(4, A, B, C)
M M Nabi
M M Nabi am 29 Jun. 2021
It worked, thank you @Scott MacKenzie

Melden Sie sich an, um zu kommentieren.

Antworten (1)

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

Kategorien

Mehr zu Geometric Transformation and Image Registration finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by