reshape an array into other arrays

1 Ansicht (letzte 30 Tage)
Rica
Rica am 6 Jul. 2015
Beantwortet: Walter Roberson am 6 Jul. 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

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Multidimensional Arrays finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by