Borrar filtros
Borrar filtros

converting numbers to matrix(matrix formation)

1 visualización (últimos 30 días)
tina jain
tina jain el 28 de Abr. de 2015
Respondida: Roger Stafford el 28 de Abr. de 2015
If I am having some numbers, e.g
x=[ 12 12 12 2 2 2 2 3 3 ];
and now I want to convert into a matrix of 3 * 3.
Which MATLAB function is suitable for this?

Respuesta aceptada

Roger Stafford
Roger Stafford el 28 de Abr. de 2015
Use the 'reshape' function.

Más respuestas (0)

Categorías

Más información sobre Data Type Conversion en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by