How to convert a column matrix 200 X 1 to a matrix 10 X 20 mat lab
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Ricardo Gutierrez
il 12 Mar 2018
Commentato: Ricardo Gutierrez
il 13 Mar 2018
Good morning.
How to convert a column matrix 200 X 1 to a matrix 10 X 20
Thank you
2 Commenti
Risposta accettata
James Tursa
il 12 Mar 2018
Modificato: James Tursa
il 12 Mar 2018
Either
result = reshape(your_matrix,10,20)
or this
result = reshape(your_matrix,20,10).'
depending on how you want the elements ordered in the result.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Matrices and Arrays in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!