How to convert a column matrix 200 X 1 to a matrix 10 X 20 mat lab
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Ricardo Gutierrez
am 12 Mär. 2018
Kommentiert: Ricardo Gutierrez
am 13 Mär. 2018
Good morning.
How to convert a column matrix 200 X 1 to a matrix 10 X 20
Thank you
2 Kommentare
Akzeptierte Antwort
James Tursa
am 12 Mär. 2018
Bearbeitet: James Tursa
am 12 Mär. 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.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Logical finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!