Effacer les filtres
Effacer les filtres

How to convert a column matrix 200 X 1 to a matrix 10 X 20 mat lab

2 vues (au cours des 30 derniers jours)
Good morning.
How to convert a column matrix 200 X 1 to a matrix 10 X 20
Thank you
  2 commentaires
per isakson
per isakson le 12 Mar 2018
See: reshape
Ricardo Gutierrez
Ricardo Gutierrez le 13 Mar 2018
Thank you very much !!!

Connectez-vous pour commenter.

Réponse acceptée

James Tursa
James Tursa le 12 Mar 2018
Modifié(e) : James Tursa le 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.

Plus de réponses (0)

Catégories

En savoir plus sur Matrices and Arrays dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by