combin 4 three dimential matrices in one matrix
Mostra commenti meno recenti
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 Commenti
Bob Thompson
il 5 Giu 2019
Those four matrices will not fill the entire 65x75x1400 matrix. Do you want them combined diagonally?
Matt J
il 5 Giu 2019
Why can't you use CAT?
Nahid Atashi
il 5 Giu 2019
Stephen23
il 5 Giu 2019
>> 16*10*1400 + 15*20*1400 + 14*15*1400 + 20*30*1400
ans = 1778000
>> 65*75*1400
ans = 6825000
Bob Thompson
il 5 Giu 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
il 5 Giu 2019
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Resizing and Reshaping Matrices in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!