a=1:73;
a=a';
% b=load('fiveday_2014.txt');
b=rand(1,73);
c=[];
fid=fopen('rep.txt','wt');
for i=1:73
t=[num2str(a(i)),',',num2str(b(i))];
fprintf(fid,'%s ',t);
% c{i,1}=t;
end
fclose(fid);
======================result============
1,0.69514
2,0.067993
3,0.25479