Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Anyone Help Me in this matlap Code

Status
Not open for further replies.

mitoo2007

Newbie level 3
Joined
Dec 25, 2009
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
egypt
Activity points
1,314
please can anybody help me in this matlap problem

the required ::::


* 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 (*)
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top