⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dispose_sensors.m

📁 目标跟踪的扩展卡尔曼滤波算法主函数的文件是:kal_demo.m 近似网格滤波的主函数文件是:bayes_demo.m 近似网格滤波划分网格的方法是:以目标上一个时刻的位置作为中心进行网格
💻 M
字号:
function [ sensors ] = dispose_sensors()
% Dispose sensors
% [ sensors ] = dispose_sensors()
% INPUTS
%       none
% OUTPUTS
%       sensors(1, :) : the coordinate of x
%       sensors(2, :) : the coordinate of y
%
% In the area of 100 * 100,there are 400 sensors distributed uniformly
% sensors means of the location of each sensor

for yloop = 1:20
    for xloop = 1:20
        sensors(1, (yloop-1)*20+xloop) = xloop / 20 * 100;
        sensors(2, (yloop-1)*20+xloop) = yloop / 20 * 100;
    end
end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -