reshape an array into other arrays

1 次查看(过去 30 天)
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

采纳的回答

Walter Roberson
Walter Roberson 2015-7-6
mat2cell(TheVector, 1, [5 5 2])

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Multidimensional Arrays 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by