how to make an array to a matrix??

2 views (last 30 days)
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.

Accepted Answer

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

More Answers (0)

Categories

Find more on Matrices and Arrays in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!