This document contains the description for the MATLAB source code to simulate PDP in fast fading scenario in 

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 PDP_ff directory, please read it carefully. 

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


1. cprod:  function to generate cartesian product of input vectors

2. EHR_outprobKgiveni_Lvec_barq_ff: function to compute the average conditional outage probability for fast fading scenario, given the battery state vectors 

3. MH_plotoutage_eqns_Lvec: MAIN file to analytically compute the PDP

4. MH_expsetup_ARQ_ff: Main file to compute PDP empirically. 

5. tpm_MH_ff_Lvec:  function to generate the transition probability matrix for the DTMC describing the evolution of the multihop link.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Disclaimer: The setting considered in the simulations are equivalent to the settings considered in the paper and are obtained after some simplifications.

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