I have a collection ySol:
julia> ySol=collect(ySol)
21-element Array{Any,1}:
 1x2 Array{Float64,2}:
 9000.0  0.0
 1x2 Array{Float64,2}:
 8998.79  -4.80427
 1x2 Array{Float64,2}:
 8995.29  -9.0677
 1x2 Array{Float64,2}:
 8989.86  -12.4678
 1x2 Array{Float64,2}:
 8982.97  -14.9547
 1x2 Array{Float64,2}:
 8975.04  -16.66
 1x2 Array{Float64,2}:
 8966.41  -17.7772
 1x2 Array{Float64,2}:
 8957.33  -18.4864
 1x2 Array{Float64,2}:
 8947.97  -18.9266
 1x2 Array{Float64,2}:
 8938.43  -19.195
 1x2 Array{Float64,2}:
 8928.79  -19.3559
 1x2 Array{Float64,2}:
 8919.09  -19.4502
 1x2 Array{Float64,2}:
 8909.35  -19.5037
 1x2 Array{Float64,2}:
 8899.59  -19.5323
 1x2 Array{Float64,2}:
 8889.82  -19.5457
 1x2 Array{Float64,2}:
 8880.04  -19.5498
 1x2 Array{Float64,2}:
 8870.27  -19.5484
 1x2 Array{Float64,2}:
 8860.5  -19.5435
 1x2 Array{Float64,2}:
 8850.73  -19.5366
 1x2 Array{Float64,2}:
 8840.96  -19.5285
 1x2 Array{Float64,2}:
 8831.2  -19.5196
How can I convert it into an array of dimension 20,2
eg yy=zeros(20,2)
yy=ySol
Thank you for your help

Reply via email to