could anyone help me how to vertically concatenate different mat files of same number of rows with different columns.
Ältere Kommentare anzeigen
A.mat=(10x2)
B.mat=(10x4)
C.mat=(10x6)
i want to vertically concatenate all three .mat files into single final.mat that contains 30 rows with its respective columns.
could anyone please help me on it.
1 Kommentar
Jakob B. Nielsen
am 10 Mär. 2020
You can't concatenate arrays of different dimensions. Why do you need them concatenated? One approach is to add 0s to A and B to make them all 10x6 and then concatenate, but depending on what you intend to do with the data afterwards that might not be a good approach.
Antworten (1)
jaah navi
am 10 Mär. 2020
0 Stimmen
Kategorien
Mehr zu Monte Carlo Analysis finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!