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.

Problem in Reded solomon decoding using QPSK modulation in Engg. project , help plz

Status
Not open for further replies.

munnas

Newbie level 1
Joined
Feb 10, 2009
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,292
Problem in Convolutional decoding using QPSK modulation in Engg. project , help plz

hello everyone,

I have used convolutional encoding with qpsk modulation using AWGN channel. During decoding if the signal to noise ratio is less than 5 like 1, 2 etc. It shows error i.e.

??? Error using ==> vit
Invalid input for chosen decision-type. Allowed input values for hard-decision decoding are 0 and 1.


But if keep SNR higher it shows no error and output data matches with input.



Kindly tell me why is this happening and how to solve this problem without increasing much SNR....????

(note:- in red is SNR about what i have mentioned above.)

Code :-

clc

clear all

data=[1 0 1 1 1 1 1 1 ] % data generate.

trellis = poly2trellis(7,[133 171],[133]) ; % polynomial to trellis conversion.

Final_code = convenc(data,trellis) ; % RSC encoder.

Modulated_data = pskmod(Final_code,4) % Bpsk modulation.

y=awgn(Modulated_data,1,'measured') % AWGN channel.

demodulated_data= pskdemod(y,4) % Bpsk de-modulation

Final_data=vitdec(demodulated_data ,trellis,8,'trunc','hard') % viterbi decoder
 
Last edited:

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top