init.m

来自「用于网络控制系统仿真」· M 代码 · 共 16 行

M
16
字号
global transmitPower receiverThreshold pathloss errorCodingThreshold nbrOfMotes pingPeriod xPos yPos visitPointstransmitPower = -20;     %dbmreceiverThreshold = -48; %dbmpathloss = 3.5;errorCodingThreshold = 0.03;nbrOfMotes = 3;pingPeriod = 1;% Initial locations of the three motesxPos = [-18 -18 -18];yPos = [-18 -18 -18];% Coordinates that should be visited by the groupvisitPoints = [1  5 10 15 18 -5  -15 -15 19;	       2 15 18  7  1  10  15  0 -19];

⌨️ 快捷键说明

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