string.reshape
string: B = reshape (A, d1, …, dN)
string: B = reshape (A, …, [], …)
string: B = reshape (A, dimvec)
Reshape string array.
B = reshape (A, d1, …, dN) returns
a string array B with specified dimensions d1, …,
dN, whose elements are taken columnwise from the string array
A. The product of d1, …, dN must equal the total
number of elements in A.
B = reshape (A, …, returns
a string array B with one dimension unspecified which is calculated
automatically so that the product of dimensions in B matches the
total elements in A, which must be divisible the product of
specified dimensions. An empty matrix [], …)([]) is used to flag the
unspecified dimension.
Source Code: string