Matlab map

初始文件格式:

svid=26,frm_cnt=1,max_freq=233,max_chip=90,max_mag =     1085
svid=26,frm_cnt=2,max_freq=261,max_chip=3996,max_mag =     10fc
 
awk,sed相关命令:
sed 's/=/ /g;s/,/ /g' 20121227_acq_out.txt |awk '{the="0x"$10;print $6","$8","strtonum(the)}'>t27mt.txt
(网页复制后"0x",在putty上显示‘0x')
matlab使用命令:
 
load t25mt.txt
 
ln=tt(:,1)
x=tt(:,2)
y=tt(:,3)
z=tt(:,4)
 
subplot(311)
plot(ln,x,'o')
title('maxfreq')
 
subplot(312)
plot(ln,y,'o')
title('maxchip')
 
subplot(313)
plot(ln,z,'o')
title('maxmag')
对sl_acq结果文件的处理
posted @ 2014-07-30 21:04  voh99800  阅读(244)  评论(0编辑  收藏  举报