Communications_Engineer said:
what do you want to do? OFDM in fading channel?
i want this requirments:::-
report(OFDM):
* genearte large no of bits using randint
* modulate the data once with bpsk & then 16-QAM
* bpsk mod is 2*data-1
* after modulation u should loop on the data with step of 64's
each time calculating their ifft
* add the noise to each 64
* if u remeber how to add noise then do it as u know,
else use awgn
sigandnoise=awgn(signal, SNR in dB , 'measured' )
* do fft with steps of 64's , the same groups of symbols that were ifft'ed
* demodulate the data ( if bpsk then bits= recdata > 0)
*calculate ber using
ber=sum(xor( transmitted bits , received bits ) )
* the whole program should be done in a large loop that loops over
SNR -5 -> 15
* in case of fading
multiply with channel before ifft then divide after ifft
* multiplication is done using (.*) not just (*)
6 graphs
1-BER for BPSK for AWGN channel.
2-BER FOR 16-QAM for AWGN channel.
3-BER for BPSK for AWGN+fading channel.
4-BER for 16-QAM for AWGN+fading channel.
5-BER for BPSK for AWGN+Coding channel.
6-BER for BPSK for Fading+Coding channel.