iam having a matrix of (128*128*24)and another of 128*128 double..how can i concatenate this..
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
iam having a matrix of (128*128*24)and another of 128*128 double..how can i concatenate this..
0 Kommentare
Antworten (2)
Azzi Abdelmalek
am 19 Okt. 2012
Bearbeitet: Azzi Abdelmalek
am 19 Okt. 2012
your first matrix A size is 128*128*24. If you concatenate any matrix to A the result size, obviously will change! why are you expecting the final size to be the same? have you read Matt's comment?
1 Kommentar
Azzi Abdelmalek
am 19 Okt. 2012
Unless you want to replace one matrix by another, in this case use for example
A=rand(128,128,4);B=rand(128,128)
A(:,:,1)=B;
Siehe auch
Kategorien
Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!