N = load('all_times1.txt')
M = 1000*N
[m,n]=size(M)
if isvector(M)
    Average=M
    StandardError=zeros(1,n)
else
    Average=mean(M)
    StandardError=std(M)/sqrt(m)
end


fig_pointsNum=n+1

OutputMatrix=zeros(3,fig_pointsNum)
OutputMatrix(1,:)=[0 4 6 8 10 20 30 40 50 60 70 80 90 100]
OutputMatrix(2,2:fig_pointsNum)=Average
OutputMatrix(3,2:fig_pointsNum)=StandardError

OutputMatrix1=OutputMatrix'

dlmwrite('Time1_metagol.gp',OutputMatrix1,'delimiter','\t','precision','%.6f')
