cIB[D. ~7O.}RP0 f@aFs]xV 求大神解答~~
7&Qf))L ;Sw%t(@ ,4Qct=%L_ 代码如下:
V:>ZSW4,^ function AX
K;P<c,9X/ O]-s(8Oo3 x=eye(10,3);
WX}pBmU DU lvlQW str=['data.txt']
;Vlt4,s) y#?AW`|
fid=fopen(str,'w');
$I4:g.gKpG vfpK|=[7o for ii=1:10;
h:~
8WV| \\v1\ fprintf(fid,'%f %f %f\n',x(ii,1),x(ii,2),x(ii,3));
i_ z4;%#? Q'R*a(pm end
ZK$<"z6{ ]Z=O+7(r fclose(fid);
P> [,,w &p83X end
lL6W:Fq@(