I have a problem with LDPC decoding with communication tool. I believe the problem is clear but I could not solve it.
    2 次查看(过去 30 天)
  
       显示 更早的评论
    
I use Matlab2014a and I run a simple code and everything seems to be okay until the LDPC decoding command. With SNR=100, I get an error rate of 91% which is unrealistic. I believe this problem is caused by LDPC decoding step but I couldn't solve it. I will be glad if anybody can help me with this. Here is the code,
clc
clear all
close all
H = dvbs2ldpc(1/2);
henc = comm.LDPCEncoder(H);
hMod = comm.QPSKModulator('BitInput',true);
hChan = comm.AWGNChannel(... 'NoiseMethod','Signal to noise ratio (SNR)','SNR',100);
hDemod = comm.QPSKDemodulator('BitOutput',true);
hdec = comm.LDPCDecoder(H);
hError = comm.ErrorRate;
    for counter = 1:10
      data = logical(randi([0 1], 32400, 1));
      encodedData    = step(henc, data);
      modSignal      = step(hMod, encodedData);
      receivedSignal = step(hChan, modSignal);
      demodSignal    = step(hDemod, receivedSignal);
      receivedBits   = step(hdec, demodSignal);
      errorStats     = step(hError, data, receivedBits);
   end
    fprintf('Error rate       = %1.2f\nNumber of errors = %d\n', ...
      errorStats(1), errorStats(2))
0 个评论
回答(1 个)
  MisterTellini
 2017-7-22
        Hello,
Were you finally able to solve it? If then, how?
Thanks in advance and may you have a nice week!
另请参阅
类别
				在 Help Center 和 File Exchange 中查找有关 AI for Wireless 的更多信息
			
	产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


