How to make a new matrix out of the combination of 12 matrix
1 回表示 (過去 30 日間)
古いコメントを表示
I have 12 Matrix each of 401 * 101, i want to make a combination out of them where i can get a new matrix of 401 row where each new column in the new matrix a combination of different columns of the 12 matrix.
0 件のコメント
採用された回答
Shae Morgan
2020 年 8 月 10 日
編集済み: Shae Morgan
2020 年 8 月 10 日
try concatenating them? Or do you want to add them across? You say "combination" do you mean an average or a sum? We need more information from your question for a good answer.
mat1=rand(401,101);
mat2=rand(401,101);
...
mat12=rand(401,101);
newmat=[mat1 mat2 mat12];
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Creating and Concatenating Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!