Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

What is the bpsk signal and how to generate it in Matlab ?

Status
Not open for further replies.

electroon

Newbie level 6
Joined
Jan 6, 2006
Messages
12
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,392
plz help

can anyone plz help me by telling what actually is a bpsk signal and how to generate the signal in matlab plz helppppppppp
 

Naveed Alam

Full Member level 5
Joined
Jan 6, 2006
Messages
287
Helped
16
Reputation
34
Reaction score
3
Trophy points
1,298
Activity points
3,250
Re: plz help

electroon said:
can anyone plz help me by telling what actually is a bpsk signal and how to generate the signal in matlab plz helppppppppp
Following is ur required program..



bits_per_symbol=1
length_outbiniary_data=128; %this is amount to binary data to be transmitted,u can change it
baseband_binarydata_tx = round(rand(1,length_outbiniary_data));
%Convert to 'modulo N' integers where N = 2^bits_per_symbol
convert_matrix = reshape(baseband_binarydata_tx, bits_per_symbol, length(baseband_binarydata_tx)/bits_per_symbol);
for k = 1:(length(baseband_binarydata_tx)/bits_per_symbol)
modulo_baseband(k) = 0;
for i = 1:bits_per_symbol
modulo_baseband(k) = modulo_baseband(k) + convert_matrix(i,k)*2^(bits_per_symbol-i);
end
end
 

shafee001

Advanced Member level 4
Joined
May 6, 2004
Messages
114
Helped
16
Reputation
32
Reaction score
4
Trophy points
1,298
Location
Egypt
Activity points
1,078
plz help

bpsk: means Binary-Phase-Shift-Keying,
that means (ones and zeros) are modulated as sin wave 0 = phase 0
1 = pahse 180, about matlab mr. "Naveed Alam"
wrote all what you need
 

mansoorahmed

Member level 2
Joined
Mar 25, 2006
Messages
43
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Location
Pakistan
Activity points
1,526
Re: plz help

studey constellation diagram and bipolar phase shift keying
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top