MATLAB学习(十)实现文件、图像读写

          t=1:5; s1=sin(t); s2=cos(t); s=[t;s1;s2]; fid1=fopen('test.dat','wt'); fprintf(fid1,'\nThis is a Formated file\n'); fprintf(fid1,'\n%4d %+12.5E %+12.5E\n',s); fclose(fid1); fid2=fopen('te
相关文章
相关标签/搜索