LDPC encoding using MATLAB encoder

4 ビュー (過去 30 日間)
Chetan Fadnis
Chetan Fadnis 2023 年 11 月 29 日
回答済み: Walter Roberson 2023 年 11 月 29 日
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.

採用された回答

Walter Roberson
Walter Roberson 2023 年 11 月 29 日
I = randi([0 1],43200,1); % INFORMATION BITS
H = dvbs2ldpc(2/3);
l = comm.LDPCEncoder(H);
Warning: comm.LDPCEncoder will be removed in a future release. Use ldpcEncode instead. See this release note for more information.
codeword = l(I);

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeError Detection and Correction についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by