dispose_sensors.m
来自「目标跟踪的扩展卡尔曼滤波算法主函数的文件是:kal_demo.m 近似网格」· M 代码 · 共 18 行
M
18 行
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 + =
减小字号Ctrl + -
显示快捷键?