How to combine multiple columns into array?
10 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
pink flower
il 2 Set 2020
Modificato: per isakson
il 2 Set 2020
I have 5 columns and I would like to join them and form a matrix with n rows and 5 columns. How can I do this?
0 Commenti
Risposta accettata
per isakson
il 2 Set 2020
Modificato: per isakson
il 2 Set 2020
Two ways
array = cat( 2, col1, col2, col3, col4, col5 );
array = [ col1, col2, col3, col4, col5 ];
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Operators and Elementary Operations in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!