In the toturial example of Reed-Solomon Block code, I changed the parameter m=8, t=8 (the only part I changed). But it seems not work and the decoded_bits are all zero. My operation system is WinXP. Could anyone please tell me what's the problem with the code ? Thank you very much.
Best Regards,
//SJYang
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
By the way, with (m,t)=(3,2) as the original example, the execution result is right. But with (m,t)=(8,8), it doesn't work.
I can compile and simulate other functions such as convolution encoder/decoder. But I just don't know why the RS code with (m,t)=(8,8) doesn't work. Is there anyone successfully simulate the RS code with (m,t)=(8,8) ?
Any ideas appreciated, Thx.
//SJYang
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I too came across the same problem.
I think there's something wrong going with decorder part. Ofcourse thats my first impression.
Did u spot the mistake already?
Let me know if you have solution already.
Regards
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
maybe reducing the BSC cross probability p to a small value will give you right answer.
Because, t is the maximal number error the underlying RS code can correct. if they are >t erros in a received word, the decoder will output all zero codeword. In other word, you setting maybe corresponds to a very low SNR case.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
That doesn't work either (Though MATLAB handles this):
Number of Reed-Solomon code-words to simulate: 1000000
BSC Error probability : 1e-06
RS m: 8
RS t: 8
Simulating an Reed-Solomon code with the following parameters:
n = 255
k = 239
q = 256
terminate called after throwing an instance of 'std::bad_alloc'
what(): St9bad_alloc
Aborted
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
In the toturial example of Reed-Solomon Block code, I changed the parameter m=8, t=8 (the only part I changed). But it seems not work and the decoded_bits are all zero. My operation system is WinXP. Could anyone please tell me what's the problem with the code ? Thank you very much.
Best Regards,
//SJYang
By the way, with (m,t)=(3,2) as the original example, the execution result is right. But with (m,t)=(8,8), it doesn't work.
I can compile and simulate other functions such as convolution encoder/decoder. But I just don't know why the RS code with (m,t)=(8,8) doesn't work. Is there anyone successfully simulate the RS code with (m,t)=(8,8) ?
Any ideas appreciated, Thx.
//SJYang
Dear Yang,
I too came across the same problem.
I think there's something wrong going with decorder part. Ofcourse thats my first impression.
Did u spot the mistake already?
Let me know if you have solution already.
Regards
Hello,
I am starting using it++ and I also have the problem with th RS code (m,t)=(8,8). Does somebody have a solution ?
Thanks in advance
Fanny
maybe reducing the BSC cross probability p to a small value will give you right answer.
Because, t is the maximal number error the underlying RS code can correct. if they are >t erros in a received word, the decoder will output all zero codeword. In other word, you setting maybe corresponds to a very low SNR case.
That doesn't work either (Though MATLAB handles this):
Number of Reed-Solomon code-words to simulate: 1000000
BSC Error probability : 1e-06
RS m: 8
RS t: 8
Simulating an Reed-Solomon code with the following parameters:
n = 255
k = 239
q = 256
terminate called after throwing an instance of 'std::bad_alloc'
what(): St9bad_alloc
Aborted