Hi all

I have seen many examples of converting an array of arrays into a matrix, but I would like to go the other way. What I have cobbled together works, but may not be the most elegant or fast solution. I would appreciate any comments and builds.

```
function sliceMatrix(A)
m, n = size(A)
B = Array{Array{eltype(A), 1}, 1}(undef, m)
for i = 1:m
B[i] = A[i, :]
end
return B
end
```

Is there a way to pre-allocate the individual arrays inside B?

Thanks!