fid=fopen('test.in');
b=fscanf(fid,'%f')
b=sum(a);
fprintf('%f\n',b);
