reshape an array into other arrays

1 vue (au cours des 30 derniers jours)
Rica
Rica le 6 Juil 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

Réponse acceptée

Walter Roberson
Walter Roberson le 6 Juil 2015
mat2cell(TheVector, 1, [5 5 2])

Plus de réponses (0)

Catégories

En savoir plus sur Data Types dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by