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.

Help needed urgently with turbo matlab codes

Status
Not open for further replies.

tito12

Newbie level 3
Joined
Jul 4, 2009
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,302
Help needed urgently

I need to simulate a data using bpsk on awgn channel can anyone pls help me with turbo matlab codes that can help.

Many thanks
 

Re: Help needed urgently

Fs=250e3; % Sampling freq
N=20; % How many carrier periods to look
fc=50e3; % Carrier frekq.
fs=3125; % Data frekq.
t=0:1/Fs:N*1/fc;
carrier=cos(2*pi*fc*t);
modsig=square(2*pi*fs*t);

BPSK=carrier.*modsig;

BPSKn=awgn(BPSK, 50); % 50dB SNR

Whola.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top