I have matrices like 293*13, 392*13, 480*13. I want to take take each matrix to column and concatenate that column matrices into one matrix.
Please can anyone help me out with this ?

Antworten (1)

Star Strider
Star Strider am 28 Sep. 2021

0 Stimmen

One approach —
A = rand(293,13);
B = rand(392,13);
C = rand(480,13);
ABC = cat(1,A,B,C)
ABC = 1165×13
0.9882 0.5368 0.6570 0.2355 0.1714 0.4941 0.7661 0.7194 0.9086 0.2193 0.1521 0.7151 0.4923 0.9208 0.2773 0.5459 0.1192 0.8635 0.2393 0.5222 0.2341 0.6057 0.6569 0.8170 0.8291 0.1436 0.9106 0.6806 0.2191 0.6489 0.8907 0.8956 0.0104 0.0219 0.1196 0.7720 0.2810 0.7355 0.6362 0.2578 0.8681 0.4404 0.2255 0.4652 0.5291 0.1681 0.6986 0.6080 0.4747 0.0343 0.9144 0.1378 0.1632 0.9442 0.4617 0.4528 0.3910 0.0471 0.0064 0.6550 0.6374 0.3054 0.1731 0.0976 0.7162 0.9322 0.6261 0.4001 0.3283 0.6869 0.6743 0.5867 0.9298 0.5712 0.7593 0.1078 0.5211 0.4594 0.1149 0.5019 0.3075 0.2637 0.0544 0.7497 0.5646 0.7658 0.7282 0.8237 0.8257 0.1042 0.7882 0.3433 0.5614 0.5820 0.0780 0.0365 0.1854 0.3946 0.3307 0.3443 0.4947 0.8349 0.2045 0.5803 0.5757 0.2649 0.4275 0.2660 0.9343 0.4013 0.0872 0.5789 0.9573 0.1066 0.5650 0.5150 0.4174 0.4564 0.7536 0.6640 0.1360 0.2742 0.2442 0.5231 0.8466 0.1384 0.6193 0.7172 0.9773 0.3029
.

Kategorien

Gefragt:

am 28 Sep. 2021

Beantwortet:

am 28 Sep. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by