The Matlab models allow the evaluation of performance of the respective technologies: WiFi and LoRaWAN. The WiFi model is based on the work by Baras et al. for multihop ad hoc networks (https://ieeexplore.ieee.org/document/4586081). The LoRaWAN model is partly based on the work by Sørensen et al. (https://ieeexplore.ieee.org/abstract/document/7954020/versions).