目录
💥1 概述
📚2 运行结果
🎉3 参考文献
👨💻4 Matlab代码
💥1 概述
无线传感器网络由于其自组织性、鲁棒性及节点数量巨大的特点,非常适合于目标跟踪。无线传感器网络中的移动目标跟踪实际上就是尽可能利用无线传感器网络获得的信息,通过跟踪算法或者通信协议,对目标的位置和轨迹做出最接近真实值的估算。
无线传感器网络目标跟踪大体分为单目标跟踪与面目标跟踪。单目标跟踪主要采用双元检测协作跟踪、信息驱动协作跟踪、传送树跟踪算法等方法。面目标跟踪采用对偶空间转换算法等方法。在无线传感器网络目标跟踪中,跟踪精度、跟踪能量消耗和跟踪可靠性是需要考虑的主要问题。
📚2 运行结果



主函数部分代码:
clc;
no_nodes=input('Enter the number of nodes: ');
net_length=input('Enter the length of network: ');
net_width=input('Enter the width of the network: ');
for i=1:no_nodes %using for loo[p to iterate the discreat locations of nodes].
x_loc(i)=net_length*rand; %discreat location of nodes in x axis.
y_loc(i)=net_width*rand; %discreat location of nodes in y axis.
node_id(i)=i; %id of the node to know which node communicate with other.
plot(x_loc(i),y_loc(i),'b^','linewidth',2);%plot the graph for x and y with given linewidth.
text(x_loc(i),y_loc(i)+10,['n',num2str(i)]); %numbering the nodes with incrasing the iteration
hold on; %hold on the location of nodes.
xlabel('network length'); %x store length of network.
ylabel('network width');
grid on;
pause(0.5); % hold on 0.5sec at a place.
end
source=round(no_nodes*rand); %define the source n*rand(position).
if source==0 %if source=0 due to round of the source than source will be 5.
source=5;
end
destination=round(no_nodes*rand); %define destination.
if destination==0 %if the destination is low
destination=6;
end
🎉3 参考文献
[1]岳娟. 无线传感网络目标跟踪技术的研究[D].南京邮电大学,2015.
部分理论引用网络文献,若有侵权联系博主删除。



















