This is the Matlab source code to reproduce our IEEE Communications Letters paper, titled "Lightwave Power Transfer for Federated Learning-based Wireless Networks".

The full-text of the paper can be found here: https://arxiv.org/abs/2005.03977

Please use the main files: "Figs_2_3" and "Figs_4_5" to reproduce Figs. 2 and 3, and Figs. 4 and 5 in the paper, respectively.