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!