aboazoz
Newbie level 5

how i can simulate this paragraph as matlab code for wsn
Our delay-sensitive routing has two phases: locating the
data collector and forwarding data to an active relaying node.
To facilitate locating the data collector, announcements about
the current location of the data collector are disseminated
periodically to a subset of sensor nodes in the network. When
a sensor node has delay-sensitive data, it sends a query to
a subset of sensor nodes in the network. To guarantee that
the query reaches a node which has received the most recent
announcement, we use a simple and reliable direction-based
approach: announcements cross the network vertically (i.e.,
north to south) and queries cross the network horizontally
(i.e., east to west). A similar approach was used in the context
of information discovery in large networks [11]. We assume
that sensor nodes know their geographical location in a 2D
space. To disseminate announcements and queries, we use the
Greedy Perimeter Stateless Routing (GPSR)
Our delay-sensitive routing has two phases: locating the
data collector and forwarding data to an active relaying node.
To facilitate locating the data collector, announcements about
the current location of the data collector are disseminated
periodically to a subset of sensor nodes in the network. When
a sensor node has delay-sensitive data, it sends a query to
a subset of sensor nodes in the network. To guarantee that
the query reaches a node which has received the most recent
announcement, we use a simple and reliable direction-based
approach: announcements cross the network vertically (i.e.,
north to south) and queries cross the network horizontally
(i.e., east to west). A similar approach was used in the context
of information discovery in large networks [11]. We assume
that sensor nodes know their geographical location in a 2D
space. To disseminate announcements and queries, we use the
Greedy Perimeter Stateless Routing (GPSR)