\WBO(,]V {
"M2V+ep *;)O'| 求大神解答~~
o5j6(`#;
Z;V(YK(WO. tkH]_cH'w 代碼如下:
"P0!cY8r function AX
+SF+$^T z"T+J?V/ x=eye(10,3);
#6vf:94 Y6&v&dA; str=['data.txt']
ZG0^O"B0 8^^ 1h fid=fopen(str,'w');
P
JATRJ1. $cK}Tlq for ii=1:10;
@!=Ds'MJC }A+ncabm fprintf(fid,'%f %f %f\n',x(ii,1),x(ii,2),x(ii,3));
.Sn{a}XP4 "5L?RkFi\ end
?IYu"UO<)| u3#+fn_ fclose(fid);
NuPlrCy; "o+?vx- end
'KIT^k0"Ih