首页 > 技术文章 > deformation 格式统一

gisalameda 2015-12-05 06:32 原文

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\n',t);

% c{i,1}=t;

end 

fclose(fid);


======================result============


1,0.69514

2,0.067993

3,0.25479


推荐阅读