reshape an array into other arrays

1 visualización (últimos 30 días)
Rica
Rica el 6 de Jul. de 2015
Respondida: Walter Roberson el 6 de Jul. de 2015
Hi all, I want to reshape an array of size (1X12) into array with a size of 1X5 and the last arry should contain the rest (1X2).
regards

Respuesta aceptada

Walter Roberson
Walter Roberson el 6 de Jul. de 2015
mat2cell(TheVector, 1, [5 5 2])

Más respuestas (0)

Categorías

Más información sobre Multidimensional Arrays 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