I/N *gy?* t{>q|0 ]M3yLYK/P 求大神解答~~
U0+-W07> +7}]E1Uf ="e+W@C 代码如下:
khd4ue$ function AX
\)e'`29; v:#tWEbo- x=eye(10,3);
KPki}'GO ]$hBMuUa str=['data.txt']
GvAb`c= a'T;x`b8U, fid=fopen(str,'w');
x1a:u <3
uNl for ii=1:10;
nt<]d\o0 2<6UwF fprintf(fid,'%f %f %f\n',x(ii,1),x(ii,2),x(ii,3));
1;iUWU1@ k3|Z7eW}[ end
p<%d2@lp F"kAkX>3} fclose(fid);
~6gPS
13 3' 'me end
YkADk9fE