File Exchange

image thumbnail

MPSK Simulation (BPSK,QPSK,8PSK)

version 1.0 (7.72 KB) by

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

3.95455
22 Ratings

22 Downloads

Updated

View License

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).

Comments and Ratings (46)

pedantry

good

praveen

good

praveen

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

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.

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

same error

plz alll i need the solution for this

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

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

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

Holly

Holly (view profile)

Can anyone help me please? I need it urgently.

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
-----------------------------------------------------------------------

muhammad omer

okay

fuad khan

José Sandoval

Gracias

oscar sulcani R

good

thiru murugan

i need 8psk matlab coding

Ajdar Sadigov

Salam

diyar faxer

no comments

farid samsami

salam

A B

ibrahim alahmad

good

Lora chen

hossam kasem

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

bhachandra badhiye

Frank Stepanek

rausan aja

its a good article

st zim

good

wang songhai

Muhammad Alvi

i need ur approval to get the code used in matlab

Vladimir Rasovic

A STA DA KAZEM

BETT HILLARY KIPKOECH

Nuri Misbah

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

hamed nozari

Damodar Kandel

Good done

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).

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,:)]

inderjeet kaur

pls help me hw to include this grayPSK

maqsood ahmad

this is v good

ahmed ali

send me the error calculation

Jean Pierre MALLET

jose da Silva Filho

very nice site

Ming Li

Sorry

Ming Li

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

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

ramiro csatro

bala sundaram

its nice

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

Updates

1.0

BSD License

MATLAB Release
MATLAB 6.5 (R13)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video