Sorry, I misread your dimensions. vcat(ySol...) will solve the problem
correctly for you :)
julia> ySol = [rand(2)' for _ in 1:20]
20-element Array{Array{Float64,2},1}:
1x2 Array{Float64,2}:
0.751346 0.212002
...
1x2 Array{Float64,2}:
0.52188 0.121669
julia> vcat(ySol...)
20x2 Array
If it’s not longer than that, you can easily do that with hcat:
julia> ySol = [rand(2) for _ in 1:20]
20-element Array{Array{Float64,1},1}:
[0.6383963589240325,0.952443724507759]
[0.8543445393734637,0.5497614848396764]
[0.7180883594522589,0.2699980988282249]
[0.879654133666188,0.00807946