I have a vector composed of 10 elements and I want to "split" it into two vectors composed of five elements:
q={1,2,3,4,5,6,7,8,9,10};Partition[q,5]
but the output is a matrix...
{{1,2,3,4,5},{6,7,8,9,10}}
How can I obtain 2 separated vectors rather than a matrix?
Sequence @@ Partition[q,5]? It will still haveSequencehead but that is the closest concept I suppose. – Kuba Jun 22 '17 at 15:10