# Simulating an OFDM channel

1. Oct 16, 2016

### JasonHathaway

Hi everyone,

I'm trying to simulate an OFDM following a few steps, and I'm stuck at the first:

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 with k ∈ [0,21]

First of all, does this notation E{|hk|2|}=e-k/3 mean that "the expected value of the channel gain/s is the variance σ=e-k/3"? And is it σ2 or just σ?

And also, what are exactly the "taps"?

Anyway, I assumed the variance σ=e-k/3, so here is my matlab code for the first step:
Code (Text):

N=22;
k=0:21;
sigma=exp(-k/3);
h=(rand(N,1)+j*rand(N,1))*sigma;

2. Oct 21, 2016