|
Contents | Previous | Next | Subchapters |
| Syntax |
y = reshape(x, m, n) |
y = reshape(x, [m, n]) | |
| See Also | dim , rowdim , coldim |
x = [{1, 2, 3}, {4, 5, 6}]
reshape(x, 2, 3)
O-Matrix will reply
{
[ 1 , 3 , 5 ]
[ 2 , 4 , 6 ]
}
--------------------------------------------------------------------------