No BSD License  

3.95455
4.0 | 22 ratings Rate this file 118 Downloads (last 30 days) File Size: 7.72 KB File ID: #11476

MPSK Simulation (BPSK,QPSK,8PSK)

by

J C (view profile)

 

20 Jun 2006 (Updated )

This m-file simulates MPSK (theoretical and simulated) with Gray coding

| Watch this File

File Information
Description

This m-file simulates MPSK (BPSK,QPSK,8PSK)with theoretical and simulated results using Gray coding. Numerical examples of a satellite link design are shown using QPSK and/or 8PSK when the bit rate(Rb)is greater than the channel bandwidth Wc (Band-limited channel).

MATLAB release MATLAB 6.5 (R13)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (46)
02 Apr 2015 pedantry

good

Comment only
17 Oct 2014 praveen

good

Comment only
17 Oct 2014 praveen  
21 May 2012 xu

xu (view profile)

i have the same problem with holly :
??? Error: File: graymapPSK.m Line: 8 Column: 17
The expression to the left of the equals sign is not a valid target for an assignment.
Error in ==> MPSK at 49
symbols = graymapPSK(bits); % gray code map to symbols

i want the graymapPSK function

Comment only
12 Sep 2011 aristide ngabo

can anyone help me to find Matlab codes for simulating:

BER using convolutional coding with QPSK and 16QAM modulations in an AWGN and Rayleigh channels as a function of the average SNR (i.e. average ES/N0). The (punctured) convolutional code is the one standardized in IEEE 802.16 with a polynomial generators of {133o, 171o}, constraint length L=7 and a native code rate r=1/2.

Comment only
11 Sep 2011 Mihiri

Mihiri (view profile)

i got error as
??? Input argument 'bits' is undefined.

Error in ==> C:\MATLAB6p5\work\symbols.m
On line 4 ==> K = size(bits,1);
can someone help me

Comment only
06 Jul 2011 Honey Kataria

same error

plz alll i need the solution for this

Error in ==> MPSK at 49
symbols = graymapPSK(bits); % gray code map to symbols

Comment only
02 Nov 2010 abd ely

same error

plz alll i need the solution for this

Error in ==> MPSK at 49
symbols = graymapPSK(bits); % gray code map to symbols

Comment only
14 May 2010 fanani muhammad

i have the same problem with holly :
??? Error: File: graymapPSK.m Line: 8 Column: 17
The expression to the left of the equals sign is not a valid target for an assignment.

Error in ==> MPSK at 49
symbols = graymapPSK(bits); % gray code map to symbols

somebody help please ASAP......... or email me: fananideta@yahoo.com

Comment only
27 Feb 2009 Holly

Holly (view profile)

Can anyone help me please? I need it urgently.

Comment only
14 Feb 2009 Holly

Holly (view profile)

Can anyone help me?
I face the problem to complite the matlab code with the following error:
----------------------------------------------------------------------
??? Undefined command/function 'graymapPSK'.

Error in ==> MPSK at 49
symbols = graymapPSK(bits); % gray code map to symbols
-----------------------------------------------------------------------

Comment only
18 Sep 2008 muhammad omer

okay

Comment only
17 May 2008 fuad khan  
06 Apr 2008 José Sandoval

Gracias

19 Mar 2008 oscar sulcani R

good

05 Feb 2008 thiru murugan

i need 8psk matlab coding

14 Jan 2008 Ajdar Sadigov

Salam

12 Dec 2007 diyar faxer

no comments

10 Dec 2007 farid samsami

salam

Comment only
23 Nov 2007 A B  
18 Nov 2007 ibrahim alahmad

good

Comment only
23 Sep 2007 Lora chen  
21 Sep 2007 hossam kasem

iam in the faculty of engineering and iam indeed need this file

Comment only
12 Sep 2007 bhachandra badhiye  
09 Sep 2007 Frank Stepanek  
15 Jun 2007 rausan aja

its a good article

Comment only
27 May 2007 st zim

good

05 May 2007 wang songhai  
25 Apr 2007 Muhammad Alvi

i need ur approval to get the code used in matlab

Comment only
16 Apr 2007 Vladimir Rasovic

A STA DA KAZEM

Comment only
14 Apr 2007 BETT HILLARY KIPKOECH  
14 Apr 2007 Nuri Misbah

May I get free copies of comparison of PSK modulations technics simulated by MATLAB.

26 Mar 2007 hamed nozari  
12 Mar 2007 Damodar Kandel

Good done

20 Feb 2007 J C

2/20/07 After reviewing the comparsion result between the Matlab 8PSK Gray coding demo (using Communications Blockset) and the MPSK graphs in this m file, I have concluded this m file gives corresponding results. Usually,SER is compared with Eb/No but this m file graph shows Es/No. The m file graph for SER vs Es/NO 8PSK can be shifted to the left by approximatley 4.77dB because Eb=ES-10LOG(k) where k is LOG2(8)=3. QPSK SER can be shifted to the left by ~3dB where k is LOG2(4).

Comment only
20 Feb 2007 J C

2/20/07 A correction needs to be added in the function call function symbols=graymapPSK(bits). In case 2, between lines 184 and 184, add %symbols = [1-bits(1,:)-bits(2,:);bits(2,:)-bits(1,:)]

Comment only
13 Feb 2007 inderjeet kaur

pls help me hw to include this grayPSK

Comment only
24 Jan 2007 maqsood ahmad

this is v good

Comment only
09 Jan 2007 ahmed ali

send me the error calculation

22 Dec 2006 Jean Pierre MALLET  
10 Dec 2006 jose da Silva Filho

very nice site

Comment only
30 Sep 2006 Ming Li

Sorry

30 Sep 2006 Ming Li

it is bad.
=========================================
??? Undefined command/function 'graymapPSK'.

Error in ==> MPSK at 49
symbols = graymapPSK(bits); % gray code map to symbols

15 Sep 2006 ramiro csatro  
07 Sep 2006 bala sundaram

its nice

Comment only
29 Jun 2006 J C

These commented lines should be corrected as follows:
157 %where Q(x)=.5*erfc(sqrt(x)/sqrt(2)) to
%where Q(x)=.5*erfc((x)/sqrt(2))
158 %PE(M=4)=.5*erfc(1.5786/sqrt(2))=6.5e-3 to %PE(M=4)=.5*erfc(2.484/sqrt(2))=6.5e-3

Just trying to keep things straight-JC

Comment only

Contact us