Silver_King
Newbie level 2
Hi everyone,
I'm doing a MATLAB simulation of OFDM, I'm following some steps to do that.
The first step:
You have a channel with independent zero mean complex Gaussian taps along with exponentially decaying power profile E{|hk|2|}=e-k/3 where k ∈ [0,21].
First of all, does this notation E{|hk|2|}=e-k/3 mean "The expected value of the channel gain hk is the variance "σ" e-k/3"? And is it "σ" or "σ2"?
And what are exactly the taps?
Anyway, I assumed that σ=e-k/3, so here is my matlab code for the first step:
I'm doing a MATLAB simulation of OFDM, I'm following some steps to do that.
The first step:
You have a channel with independent zero mean complex Gaussian taps along with exponentially decaying power profile E{|hk|2|}=e-k/3 where k ∈ [0,21].
First of all, does this notation E{|hk|2|}=e-k/3 mean "The expected value of the channel gain hk is the variance "σ" e-k/3"? And is it "σ" or "σ2"?
And what are exactly the taps?
Anyway, I assumed that σ=e-k/3, so here is my matlab code for the first step:
Code:
N=22;
k=0:21;
sigma=exp(-k/3);
h=(rand(N,1)+j*rand(N,1))*sigma;