Skip to main content
. 2019 Dec 12;19(24):5486. doi: 10.3390/s19245486
Algorithm 2: Data Aggregation Using Compressed Sensing Theory
Input: Sensor data d = {d1, d2,…, dn}
Output: Compressed data y
1:Compute the data aggregation fromPN1 to DODAG root
y1=i=1kr1i×di
2:Compute the data aggregation in DODAG root from the M paths
  [y1y2..yM]=[r11r12....r1Nr21r22....r2N..............rM1rM2....rMN][d1d2..dN]
3: Return the aggregated data y.