*.txt文本文件转矩阵的问题
我想用MATLAB画图,每次都将TXT文件打开,全部拷贝,复制到MATLAB成一个矩阵,然后画图,本人试图用文件导入的形式,怎么都试验不成功,请问各位,谁有好的建议.我的TXT文本格式是这样的<BR>82,73,70,70,192,31,0,0,87,65,86,69,102,109,116,32,16,0,0,0,1,0,1,0,64,31,0,0,128,62,0,0,2,0,16,0,100,97,116,97,156,31,0,0,240,255,235,255,205,255,251,255,249,255,17,0,255,255,255,255,7,0,247,255,9,0,234,255,3,0,39,0,20,0,11,0,253,255,245,255,248,255...<BR>以拷贝的形式真的很麻烦. <P>在load里没有.txt的文件格式啊,你能具体说一下吗?谢谢!</P> <P>不知道呢</P> 用fscanf函数读入回复:(annachen)*.txt文本文件转矩阵的问题
请参考帖子<a href="http://vib.hit.edu.cn/vibbbs/dispbbs.asp?BoardID=35&replyID=2029&id=2029&skin=0" target="_blank" >http://vib.hit.edu.cn/vibbbs/dispbbs.asp?BoardID=35&replyID=2029&id=2029&skin=0</A>
页:
[1]