combin 4 three dimential matrices in one matrix
显示 更早的评论
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 个评论
Bob Thompson
2019-6-5
Those four matrices will not fill the entire 65x75x1400 matrix. Do you want them combined diagonally?
Matt J
2019-6-5
Why can't you use CAT?
Nahid Atashi
2019-6-5
Stephen23
2019-6-5
>> 16*10*1400 + 15*20*1400 + 14*15*1400 + 20*30*1400
ans = 1778000
>> 65*75*1400
ans = 6825000
Bob Thompson
2019-6-5
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
2019-6-5
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Resizing and Reshaping Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!