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.

need bpsk modulation and demodulation code in matlab

Status
Not open for further replies.

Shruti01

Member level 3
Joined
Apr 14, 2010
Messages
67
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,288
Location
Mumbai, India
Activity points
1,941
Hello,


I need simple matlab program for bpsk modulation and demodulation

Thanx
 

length = 1000 ;
Stream = randint(1, length) ;
Mod = 2*Stream -1 ;
SNR = 10 ;
Recv = awgn(Mod, SNR) ;
Demod = (Recv >= 0) ;
 
can you explain the program to me.... I am new to matlab..... please explain what does each statement in the program mean...


Thankx

---------- Post added at 10:40 ---------- Previous post was at 10:25 ----------

The flow of my program for BPSK modulation is as follows:

1. Mention data sequence

2. Convert it using NRZ encoding

3. Mention bit duration, carrier frequency

4. Multiply the above signal with a reference oscillator having carrier frequency w.

5. Thus, BPSK signal is generated

The above flow has been in accordance with the block diagram of bpsk modulation. Similarly, I need matlab program for bpsk demodulation according to the block diagram of bpsk demodulation. I also need QPSK modulation and demodulation matlab codes according to the basic block diagram of QPSK modulation and demodulation. Kindly explain the steps involved in the program as I am new to matlab.

Thanx.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top