Info
Cette question est clôturée. Rouvrir pour modifier ou répondre.
how to combine five different workspace containing two matrices into single workspace.
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaire
Réponses (1)
Sai Bhargav Avula
le 10 Mar 2020
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 commentaires
Cette question est clôturée.
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!