how to make an array to a matrix??

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.

 Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 19 de Abr. de 2014
reshape(A,125,80)

Más respuestas (0)

Categorías

Más información sobre Matrices and Arrays en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 19 de Abr. de 2014

Comentada:

el 19 de Abr. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by