BoundsError: attempt to access 1-element Array{Any,1} at index [2]

后端 未结 0 857
悲&欢浪女
悲&欢浪女 2020-11-29 02:20

for i in 1:1000 x = rand(Uniform(0,4),100) mean_array[i] = sum(x)/ 100 end

I wanna generate 1000 dists and calculate the mean of each one and put the means in an arra

相关标签:
回答
  • 消灭零回复
提交回复
热议问题