필터 지우기
필터 지우기

How can I simulate the movement of a node?

조회 수: 3 (최근 30일)
Li Qing
Li Qing 2021년 5월 28일
편집: Li Qing 2021년 5월 28일
The mobile sensor node sends a message every 10m. How can I use MATLAB to simulate the mobility of the node?
  댓글 수: 2
Sulaymon Eshkabilov
Sulaymon Eshkabilov 2021년 5월 28일
Miriad of simulations can be done in MATLAB and Simulink. But how to start this issue depends on the mathematical formulation or numeircal set up principles of your sensor data. If you can post some data or formulation, then some specific advice can be provided.
Li Qing
Li Qing 2021년 5월 28일
편집: Li Qing 2021년 5월 28일
Hi,the network scenario is shown in the figure below:
The blue mobile beacon moves in the vertical direction.In general, if the node is stationary, its position can be represented by (x, y, z).But the mobile beacon is not stationary, so its coordinates (x, y, z) are constantly changing.My current solution is to store all possible positions of the mobile beacon in the matrix before doing other simulations.Then determine which coordinates need to be used.
%store coordinates every 10m
%Water depth 3000m
depth_interval = -transpose(10:10:3000);
%(x1,y1) = (0,355)
%(x2,y2) = (2500,335)
%...
anchor1 = [repmat([0,355],300,1),depth_interval];
anchor2 = [repmat([2500,335],300,1),depth_interval];
...
Is there a better way to simulate the movement of nodes?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by