Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: commBCHEncoder/commBCHDecoder
Replies: 35   Last Post: Oct 13, 2014 2:17 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Bahman

Posts: 9
Registered: 4/12/11
Re: commBCHEncoder/commBCHDecoder
Posted: Jul 3, 2012 2:24 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Fulus " <case28@gmail.com> wrote in message <jstf33$fjh$1@newscl01ah.mathworks.com>...
> "Spiros" wrote in message <ieo99b$lep$1@fred.mathworks.com>...
> > Hi Ethem
> > A found a solution, but the one you propose is more elegant.
> > Thanks a lot.
> > Regards Spiros

>
> Hello,
>
> I really need immediate assistance on BCH encoding and decoding for dvbs2. I have encountered similar problems as you did. could you kindly assist me here. thanks
>
> Fulus

%Dear fulus this is an example for QPSK 8/9 try it

genBCH_t8 =[1 0 0 0 1 1 1 0 0 0 0 0 0 0 1 1 1 0 0 1 0 0 1 ...
0 1 0 1 0 1 1 1 1 1 0 1 1 1 0 0 0 1 0 0 1 0 0 ...
1 1 1 1 0 0 1 0 1 1 1 1 0 1 1 1 1 0 1 0 0 0 1 ...
1 0 0 1 1 1 1 1 1 1 0 0 0 1 1 0 1 1 0 1 0 1 1 ...
1 0 1 0 1 0 0 0 0 0 1 0 0 1 1 1 1 1 0 0 1 0 1 ...
1 0 0 1 1 0 0 0 1 0 1 0 1 1];



H = dvbs2ldpc(8/9);
K_BCH=57472;
N_BCH=57600;

genBCH=genBCH_t8;
EncoderBCH = comm.BCHEncoder;
EncoderBCH.CodewordLength=N_BCH;
EncoderBCH.MessageLength=K_BCH;
EncoderBCH.PrimitivePolynomialSource='Property';
EncoderBCH.PrimitivePolynomial=de2bi(65581,'left-msb');
EncoderBCH.GeneratorPolynomialSource='Property';
EncoderBCH.GeneratorPolynomial=genBCH;
EncoderBCH.CheckGeneratorPolynomial= false;
henc = fec.ldpcenc(H);
hdec = fec.ldpcdec(H);
hdec.DecisionType = 'Hard decision';
hdec.OutputFormat = 'Information part';
hdec.NumIterations = 50;

hdec.DoParityChecks = 'Yes';

DecoderBCH = comm.BCHDecoder;
DecoderBCH.CodewordLength=N_BCH;
DecoderBCH.MessageLength=K_BCH;
DecoderBCH.PrimitivePolynomialSource='Property';
DecoderBCH.PrimitivePolynomial=de2bi(65581,'left-msb');
DecoderBCH.GeneratorPolynomialSource='Property';
DecoderBCH.GeneratorPolynomial=genBCH;
DecoderBCH.CheckGeneratorPolynomial= false;
bahman


Date Subject Author
12/18/10
Read commBCHEncoder/commBCHDecoder
Spiros
12/20/10
Read Re: commBCHEncoder/commBCHDecoder
Ethem
12/20/10
Read Re: commBCHEncoder/commBCHDecoder
Spiros
3/2/11
Read Re: commBCHEncoder/commBCHDecoder
Adam
3/4/11
Read Re: commBCHEncoder/commBCHDecoder
Spiros
4/12/11
Read Re: commBCHEncoder/commBCHDecoder
Bahman
4/15/11
Read Re: commBCHEncoder/commBCHDecoder
Spiros
6/2/11
Read Re: commBCHEncoder/commBCHDecoder
allice
5/22/11
Read Re: commBCHEncoder/commBCHDecoder
Ratty
4/12/11
Read Re: commBCHEncoder/commBCHDecoder
Bahman
6/23/12
Read Re: commBCHEncoder/commBCHDecoder
Fulus
6/23/12
Read Re: commBCHEncoder/commBCHDecoder
Fulus
6/24/12
Read Re: commBCHEncoder/commBCHDecoder
Bahman
6/25/12
Read Re: commBCHEncoder/commBCHDecoder
Fulus
7/2/12
Read Re: commBCHEncoder/commBCHDecoder
Fulus
7/3/12
Read Re: commBCHEncoder/commBCHDecoder
Bahman
7/15/12
Read Re: commBCHEncoder/commBCHDecoder
Fulus
7/16/12
Read Re: commBCHEncoder/commBCHDecoder
Bahman
7/16/12
Read Re: commBCHEncoder/commBCHDecoder
Fulus
7/17/12
Read Re: commBCHEncoder/commBCHDecoder
Bahman
8/14/12
Read Re: commBCHEncoder/commBCHDecoder
Fulus
8/14/12
Read Re: commBCHEncoder/commBCHDecoder
Bahman
8/15/12
Read Re: commBCHEncoder/commBCHDecoder
Fulus
8/16/12
Read Re: commBCHEncoder/commBCHDecoder
Bahman
8/22/12
Read Re: commBCHEncoder/commBCHDecoder
Ed MrTz
8/22/12
Read Re: commBCHEncoder/commBCHDecoder
Bahman
8/22/12
Read Re: commBCHEncoder/commBCHDecoder
Ethem Sozer
8/25/12
Read Re: commBCHEncoder/commBCHDecoder
Ed MrTz
12/29/12
Read Re: commBCHEncoder/commBCHDecoder
Ed MrTz
5/14/11
Read Re: commBCHEncoder/commBCHDecoder
Akilan
6/28/11
Read Re: commBCHEncoder/commBCHDecoder
Leonardo O. Iheme
7/4/11
Read Re: commBCHEncoder/commBCHDecoder
Leonardo O. Iheme
12/7/11
Read Re: commBCHEncoder/commBCHDecoder
Brian
12/7/11
Read Re: commBCHEncoder/commBCHDecoder
Brian
4/19/14
Read Re: commBCHEncoder/commBCHDecoder
ibrahemsami100@gmail.com
10/13/14
Read Re: commBCHEncoder/commBCHDecoder
sofiasankaran91@gmail.com

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.