Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

how to combine five different workspace containing two matrices into single workspace.

1 Ansicht (letzte 30 Tage)
jaah navi
jaah navi am 10 Mär. 2020
Geschlossen: Stephen23 am 10 Mär. 2020
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.

Antworten (1)

Sai Bhargav Avula
Sai Bhargav Avula am 10 Mär. 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!

Diese Frage ist geschlossen.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by