Info
この質問は閉じられています。 編集または回答するには再度開いてください。
how to combine five different workspace containing two matrices into single workspace.
1 回表示 (過去 30 日間)
古いコメントを表示
I am having five different workspaces saved in .mat as one,two,three,four,five
where one contains A=4x10 and B=4x10
two contains A=3x10 and B=3x10
three contains A=6x10 and B=6x10
four contains A=8x10 and B=8x10
five contains A=9x10 and B=9x10
I want to combine all five .mat into single .mat by adding one below the other
so the final all.mat should contain A=30x10 and B=30x10 (which means i want to add 4+3+6+8+9 =30).
Could anyone please help me on this.
1 件のコメント
回答 (1 件)
Sai Bhargav Avula
2020 年 3 月 10 日
Hi, One way to solve this is to load the mat files and concatenate the variables and save them into a mat file.
In the above link the code for the same is given
Hope this helps!
0 件のコメント
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!