Research Article
The Slashed-Rayleigh Fading Channel Distribution
Algorithm 1
Simulating the SR distribution.
Input: | Alpha: parameter () | Q: parameter () | A: range of data (Amplitude ) | NSamples: number of samples (NSamples ) | Output: | Z: set of data | Begin: | v CDF(Alpha, Q) (0 A) ⊳Obtain the CDF and store it within a vector | fordo | u rand⊳Obtain a uniform random sample | | end for | End |
|