This document contains the description for the MATLAB source codes to simulate Fig. 4b of the paper

Mohit K. Sharma and Chandra R. Murthy, "Distributed Power Control for Multi-hop Energy Harvesting Links with Retransmission" IEEE Transactions on Wireless Communications, 2018

The following list contains description about the files in each directory, please read it carefully. 

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%5


1. MHexpsetup_Splpolicy_gencase_ARQ_FF:  main file to evaluate the performance of special case policy in general case for slow fading channels

2. avg_energy_sf:  this function is called inside the main file to evaluate the remaining energy recursively

3. myfun_sf:  this function is called inside the main file and provides the handle to the function whose fixed point is to be found. 
              This is essentially used for obtaining the closed-form policy in special case. 

For further queries please drop an email at: {smohit,cmurthy}@iisc.ac.in or mohit.sharma987@gmail.com
