how to make an array to a matrix??

2 visualizzazioni (ultimi 30 giorni)
TRAILOKYA
TRAILOKYA il 19 Apr 2014
Commentato: TRAILOKYA il 19 Apr 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.

Risposta accettata

Azzi Abdelmalek
Azzi Abdelmalek il 19 Apr 2014
reshape(A,125,80)

Più risposte (0)

Categorie

Scopri di più su Matrices and Arrays 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!

Translated by