Rohini Sharma
Newbie level 2

S(i) is the set of nodes which are selected as CH.Hi,
i am working on ESEP protocol in MATLAB which is the advance version of SEP and LEACH protocol. i have run the code of LEACH and it is giving output. but i dont know that
-how nodes are behaving like a sensor network and doing the work of sensing,sending?
-are the properties of WSN inbuilt in MATLAB?
-where the methods used like[S(i).xd,S(i).type] in code are declared and is the work of xd and type are defined in MATLAB??
Nodes are not sensing.
Read SEP protocol to understand this code. google it