how to make an array to a matrix??

4 vues (au cours des 30 derniers jours)
TRAILOKYA
TRAILOKYA le 19 Avr 2014
Commenté : TRAILOKYA le 19 Avr 2014
Sir I have an array of dimension (10000,1). But I need to make it as a matrix of dimension (125,80). 10000=125*80, the first 125 cell should be in the first column,and the second 125 cell should be in the second column and so on...please help.

Réponse acceptée

Azzi Abdelmalek
Azzi Abdelmalek le 19 Avr 2014
reshape(A,125,80)
  1 commentaire
TRAILOKYA
TRAILOKYA le 19 Avr 2014
thanks a lot :)

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Matrices and 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