Elegant way of storing multiple vectors int to a single matrix in column wise

6 vues (au cours des 30 derniers jours)
Eg 3 vectors A=[1,2,3 ] B=[4 5 6] C=[7 8 9]
Output :
Matrix M=( 1 2 3; 4 5 6; 7 8 90)
How to convert muliple array into single matrix form.
Thank you

Réponses (1)

Santos García Rosado
Santos García Rosado le 7 Avr 2021
Matrix = cat(1,A,B,C)

Catégories

En savoir plus sur Multidimensional Arrays dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by