您好,欢迎访问三七文档
当前位置:首页 > 办公文档 > 求职简历 > RSSI曲线拟合问题
d=[1:3035:5:70];RSSI=[-35-39-42-44-47-47-49-50-51-52...-53-55-58-59-57-60-60-61-62-62...-63-63-64-65-65-65-67-66-68-68...-70-71-72-73-75-75-76-76];p=polyfit(log(d),RSSI,1);n=-p(1)/10;A=p(2);plot(d,RSSI,'o');holdon;plot(d,-10*n*log(d)+A,'r');holdoff;legend('原始数据','拟合曲线');title(['n='num2str(n)',A='num2str(A)]);
本文标题:RSSI曲线拟合问题
链接地址:https://www.777doc.com/doc-7092557 .html