How can I convert a vector [256 by 1] into 16 by 16 matrix

3 visualizaciones (últimos 30 días)
priya h
priya h el 1 de Abr. de 2020
Comentada: priya h el 1 de Abr. de 2020
I have a Matrix [256 by 1]. I want convert this matrix in 16 by 16.
How to do this?

Respuesta aceptada

Walter Roberson
Walter Roberson el 1 de Abr. de 2020
reshape(Matrix,16,16)
or in some cases,
reshape(Matrix,16,16).'

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by