combin 4 three dimential matrices in one matrix
Mostrar comentarios más antiguos
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 comentarios
Bob Thompson
el 5 de Jun. de 2019
Those four matrices will not fill the entire 65x75x1400 matrix. Do you want them combined diagonally?
Matt J
el 5 de Jun. de 2019
Why can't you use CAT?
Nahid Atashi
el 5 de Jun. de 2019
Stephen23
el 5 de Jun. de 2019
>> 16*10*1400 + 15*20*1400 + 14*15*1400 + 20*30*1400
ans = 1778000
>> 65*75*1400
ans = 6825000
Bob Thompson
el 5 de Jun. de 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
el 5 de Jun. de 2019
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Resizing and Reshaping Matrices en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!