Bahman
Posts:
9
Registered:
4/12/11
|
|
Re: commBCHEncoder/commBCHDecoder
Posted:
Jun 24, 2012 5:27 AM
|
|
"Fulus " <case28@gmail.com> wrote in message <js5k8f$gem$1@newscl01ah.mathworks.com>... > hi, > > plus i keep getting this error telling me my codeword length cant exceed 255... > > ??? Error using ==> fec.bchbase.setN at 20 > N must equal 2^m-1 for some integer m between 3 and 8. > > How can I achieve larger block lengths up to dvbs2 standards > > "Fulus " <case28@gmail.com> wrote in message <js5dkl$kim$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 please i'm facing same problems here. could u help me out. fuluskaze@yahoo.com
Dear Fulus
You need to make such intialization
You need to define parameters for each modcod according to etsi standard
%-----DVB-S2---INITIALIZATION.......an example
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
|
|