how to make an array to a matrix??

5 Ansichten (letzte 30 Tage)
TRAILOKYA
TRAILOKYA am 19 Apr. 2014
Kommentiert: TRAILOKYA am 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.

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Matrices and Arrays finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by