multipath channel gain for LDPC

Status
Not open for further replies.

Pinney

Newbie level 2
Joined
Feb 1, 2012
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,295
Hi All,

I need a multipath channel for LDPC simulation, now I got the average amplitude and delay for each path, say
ai=[0.2378 0.1647 0.2554 0.2100 0.1283];%amplitude for each tap
tp=[0.0454 0.6803 1.5420 1.5646 2.0635];%delay for each tap , in ms

For Y=H*X+w, I need to know the channel gain H here, if the carrier frequency is fc=15kHz, BPSK symbol duration of Ts=2.5ms, how can I get the channle gain H?

I did it as

H=0;
tp_g=tp-tp(1);
for i=1:length(ai)
H=H+ai(i)*exp(-j*2*pi*fc*tp_g(i));
i=i+1;
end

is this correct? How to add BPSK symbol duration Ts=2.5ms here?
or should it be H=H+ai(i)*exp(-j*2*pi*fc*tp_g(i)/Ts) ?

Thanks,
Pinney
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…