LDPC encoding using MATLAB encoder
4 views (last 30 days)
Show older comments
Chetan Fadnis
on 29 Nov 2023
Answered: Walter Roberson
on 29 Nov 2023
Hello,
I am writing following code, for encoding data to LDPC encoded bit stream. But it is giving error, Kindly help,
I = randi(1,43200); % INFORMATION BITS
H = dvbs2ldpc(2/3);
l = comm.LDPCEncoder(H);
codeword = encode(l,I);
-----> Error using encode
Not enough input arguments.
0 Comments
Accepted Answer
Walter Roberson
on 29 Nov 2023
I = randi([0 1],43200,1); % INFORMATION BITS
H = dvbs2ldpc(2/3);
l = comm.LDPCEncoder(H);
codeword = l(I);
0 Comments
More Answers (0)
See Also
Categories
Find more on Error Detection and Correction in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!