资源简介
实现不同距离处的蓝牙测距算法,此算法是实现一米处测距
代码片段和文件信息
%% 导入文本文件中的数据。
% 用于从以下文本文件导入数据的脚本:
%
% G:大创文件\rssi原始数据\data_2m.txt
%
% 要将代码扩展到其他选定数据或其他文本文件,请生成函数来代替脚本。
% 由 MATLAB 自动生成于 2017/04/27 11:19:38
%% 初始化变量。
filename = ‘G:\大创文件\rssi原始数据\data_0.4m.txt‘;
delimiter = ‘ ‘;
%% 将数据列作为字符串读取:
% 有关详细信息,请参阅 TEXTSCAN 文档。
formatSpec = ‘%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s
- 上一篇:典型的关于信道容量的计算
- 下一篇:在YCbCr颜色空间上实现肤色检测的函数
评论
共有 条评论