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

[SOLVED] Turbo code encoder and decoder in MATLAB

Status
Not open for further replies.

Kurosaki2010

Newbie level 2
Joined
Apr 10, 2010
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,308
Hi all,

I hope you would be able to help me out. I have written a turbo code encoder and decoder in MATLAB with the specs below:

Channel Additive White Gaussian Noise (AWGN)
Modulation Binary Phase Shift Keying (BPSK)
Component
Encoders -
Two identical recursive
convolutional codes
RSC
Parameters
n = 2, k = 1,K = 3
G0 = 7, G1 = 5
Interleaver
1000-bit random interleaver
Puncturing
Used
Half parity bits from each component
encoder transmitted give half-rate code
Component
Decoders
Log-MAP
decoder
Iterations 8

I expected for 8 iterations, that the BER would be very small for high snr, but to my surprise, This is not so. the BER is still high in comparison to other journals results. The alg is correct to my knowledge. Thanks in advance for your help.
 

bhagath

Newbie level 5
Joined
Dec 15, 2010
Messages
10
Helped
2
Reputation
4
Reaction score
1
Trophy points
1,283
Activity points
1,334
hi please anyone send me the matlab code for dual repeat punctured turbo codes
 
  • Like
Reactions: kashyapa

    kashyapa

    points: 2
    Helpful Answer Positive Rating
    V

    points: 2
    Helpful Answer Positive Rating

Naresh224

Newbie level 4
Joined
Dec 22, 2009
Messages
5
Helped
7
Reputation
14
Reaction score
7
Trophy points
1,283
Location
Bangalore
Activity points
1,301
i hope this will do it.

turbo_logmap_matlab.rar (456.9 KB)

if any one can give me VHDL or Verilog for the same i would welcome...
 

Attachments

Projectinfo

Newbie level 2
Joined
Mar 27, 2011
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,288
hi,
can someone help me out with the turbo encoder matlab code or verilog code pls...
 

tampun

Newbie level 3
Joined
Aug 15, 2011
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,294
Hi, how to verify that the designed turbo encoder has been working OK or not ?
 

Ahmed Alaa

Full Member level 5
Joined
Jul 22, 2009
Messages
317
Helped
61
Reputation
136
Reaction score
44
Trophy points
1,318
Location
Egypt
Activity points
2,968
Go to complex2real website and you'll find a detailed example that you can compare with your decoder's outputs.
 

Kurosaki2010

Newbie level 2
Joined
Apr 10, 2010
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,308
Hi all, realize this may be too late. was a slight error in programming that caused the creation of this thread :p. Another good resource for Turbo codes is from William E ryan.
http://www2.engr.arizona.edu/~ryan/publications/turbo2c.pdf
also a detailed proof on Turbo can be found using this book:
Turbo Coding, Turbo Equalisation and Space-Time Coding by Lajos Hanzo

Both resources really helped me when I was starting up. Hope this helps you guys.
 

Neetu1

Newbie level 5
Joined
Apr 5, 2012
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Bangalore
Activity points
1,323
Hi kurosaki 2010

I need the code for turbo encoder and decoder.

Please upload it here or send it to me by email on sweettttiii@gmail.com

I want to add it with ofdm and want to see improvement in ber.

I request you to upload it soon so that i can complete my M.tech thesis on time.

Thanks in advance
 

krishna chaitanya.

Newbie level 1
Joined
Feb 11, 2013
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,284
i hope this will do it.

turbo_logmap_matlab.rar (456.9 KB)

if any one can give me VHDL or Verilog for the same i would welcome...
can u send me vhdl code for turbo decoder if u have it.Thank you in advance.
 

pushkar2607

Newbie level 1
Joined
Feb 27, 2013
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,285
it is giving error as
Undefined function or method 'encoderm' for input arguments of type 'double'.

Error in ==> turbo_logmap at 74
en_output = encoderm( x, g, alpha, puncture ) ; % encoder output (+1/-1)
please help me...
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top