fec.ldpcdec error matlab code

1 view (last 30 days)
kokomy
kokomy on 16 Dec 2016
Answered: Walter Roberson on 16 Dec 2016
hi,
can any body help me in how i can fixe this matlab error
??? Error using ==> fec.ldpcdec.decode at 67
LLR must be a 1-by-BlockLength vector.

Answers (1)

Walter Roberson
Walter Roberson on 16 Dec 2016
The second argument you pass to the decode() routine must be a row vector whose length is the same as the block length; it is the data to be decoded.
Note: fec.ldpcdec started being replaced as of R2012b. Unless you need to maintain compatibility with R2012a or earlier, it is recommended that you rewrite your code in terms of comm.LDPCDecoder

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!