Anda di halaman 1dari 2

Ngy 26 thng 4 nm 2014

NewLine code: BPSK (Matlab 2012a)

NewLine code
Make Every Step Count...
Nest

Friday, 9 November 2012

Search NewLine code

BPSK (Matlab 2012a)


Program: clc; clear all; b = input('Enter the bit stream = '); n = length(b); t = 0:0.01:n; x = 1:1:(n+1)*100; for i = 1:n if (b(i)== 0) u(i)= -1; else u(i)=1; end for j = i:0.1:i+1 bw(x(i*100:(i+1)*100)) = u(i); end end bw = bw(100:end); sint = sin(2*pi*t); st = bw.*sint; subplot(3,1,1); plot(t,bw); xlabel('n ---->'); ylabel('Amplitude ---->'); title('Input Bit Stream'); grid on ; axis([0 n -2 +2]); subplot(3,1,2); plot(t,sint); xlabel('Time ---->'); ylabel('Amplitude ---->'); title('Carrier Wave'); grid on ; axis([0 n -2 +2]); subplot(3,1,3); plot(t,st); xlabel('Time ---->'); ylabel('Amplitude ---->'); title('BPSK Wave'); grid on ; axis([0 n -2 +2]); Output: Enter the bit stream = [0 1 1 0 1 0 0 0] Output Waveforms:

Labels
Analog Modulation Technique (4) Digital Modulation Technique (18) Signal Processing (45)

Archive
2013 (46) 2012 (21) November 2012 (16) Error Probability Curve of M-ary PSK (Matlab 2012a... Error Probability Curve of M-ary QAM (Matlab 2012a... Pulse Code Modulation (Matlab 2012a) Pulse Width Modulation (Matlab 2012a) Comparison of M-ary PSK and M-ary QAM (Matlab 2012... Sampling Theorem Proof (Matlab 2012a) QPSK (Matlab 2012a) BFSK (Matlab 2012a) BPSK (Matlab 2012a) ASK (Matlab 2012a) DSBSC (Matlab 2012a) Phase Modulation (Matlab 2012a) Frequency Modulation (Matlab 2012a) Amplitude Modulation (Matlab 2012a) Error Probability Curve of M-ary PAM (Matlab 2012a... Comparison of Error Probability Curve of M-ary PSK... October 2012 (4) September 2012 (1)

Follow by Email
Email address...

Hits

4 8 9 0 2
1

Followers

http://newlinecode.blogspot.com/2012/11/bpsk-matlab-2012a.html

1/2

Ngy 26 thng 4 nm 2014


Posted by Nebu Pulickal at 23:26:00 Labels: Digital Modulation Technique

NewLine code: BPSK (Matlab 2012a)


Recommend this on Google

Join this site


w ith Google Friend Connect

Members (1)

No comments: Post a Comment


Already a member?

Enter your comment...

Comment as:

Google Account

Publish

Preview

Newer Post

Home Subscribe to: Post Comments (Atom)

Older Post

NewLine code. Template images by Storman. Powered by Blogger.

http://newlinecode.blogspot.com/2012/11/bpsk-matlab-2012a.html

2/2

Anda mungkin juga menyukai