# Outage Probability in Matlab

Status
Not open for further replies.

##### Newbie level 1
Hello,

i need your kind help in how to implement outage probability for SNR in matlab. given

#### David83

Hello,

i need your kind help in how to implement outage probability for SNR in matlab. given
View attachment 116794View attachment 116795

If you are working with Rayleigh fading channel with coefficient h that is Gaussian with zero mean and variance 1, then the instantaneous SNR is exponentially distributed with mean equals to the average SNR, Eb/N0. What you can do is for each Eb/N0 generate N exponentially distributed RVs that represent the instantaneous SNR (in MATLAB the command is exprnd(Eb/N0)) and see how many times the instantaneous SNR is below a certain threshold. The ratio between this and N will the outage probability for this Eb/N0. Repeat for all Eb/N0 values to get the outage probability for all average SNRs.

kalaimagal

### kalaimagal

Points: 2
Status
Not open for further replies.

Replies
6
Views
9K
Replies
9
Views
16K
Replies
2
Views
5K
Replies
0
Views
2K
Replies
1
Views
2K