combin 4 three dimential matrices in one matrix
Ältere Kommentare anzeigen
Hello friends,
i have 4 matrices with 3 difffernt dimentions, like A=(16*10*1400) ; B=(15*20*1400); C=(14*15*1400); D=(20* 30*1400)
i would like to have a matrix like: out=(65*75*1400);
I can not use cat and also i want to put 2 first dimentions below eatch other not only 1 dimention
any suggestion?
thank's in advance
6 Kommentare
Bob Thompson
am 5 Jun. 2019
Those four matrices will not fill the entire 65x75x1400 matrix. Do you want them combined diagonally?
Matt J
am 5 Jun. 2019
Why can't you use CAT?
Nahid Atashi
am 5 Jun. 2019
Stephen23
am 5 Jun. 2019
>> 16*10*1400 + 15*20*1400 + 14*15*1400 + 20*30*1400
ans = 1778000
>> 65*75*1400
ans = 6825000
Bob Thompson
am 5 Jun. 2019
I think it would be best if you gave a small sample of how you want the information to be combined.
To address the 65x75x1400 question from earlier, you CAN put those your four arrays into an array of that size, but as Stephen brought up you will only have ~1.8 of the 6.8 million elements filled.
Nahid Atashi
am 5 Jun. 2019
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Resizing and Reshaping Matrices finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!