标签:fprintf matlab atl fclose mod lse printf 写文件 \n
fid = fopen(‘data.txt‘,‘w‘);
for oo=1:1:i
if mod(oo,10) == 0
fprintf(fid,‘%f,%f,\n‘,sI1(oo),sQ1(oo));
else
fprintf(fid,‘%f,%f,‘,sI1(oo),sQ1(oo));
end
end
fclose(fid);
标签:fprintf matlab atl fclose mod lse printf 写文件 \n
原文地址:https://www.cnblogs.com/yssrf-possible/p/9355428.html