amir.khosravi
Newbie level 1
Hello,
I have found this code for narrow-sense RS(255,239):
ahmed shehab - File Exchange - MATLAB Central
Every single operation in Galois fields is written and it is not using MATLAB
commands. It is nice. I want to use m-files to simulate RS(255,239,8). I write
these commands:
X=gfprimdf(8);
Y=GF(8,X);
G=GP(8,Y);
I=randint(1,239);
E=encoder(I,G,Y);
everything is Ok and is done almost fast till the last line. The last
line takes alot of time. I waited 5 mins but it did not finish so I
stopped the script, because for finding the BER against SNR, more than
1 million bits should be sent against AWGN channel by BPSK. So it
would take some days to find the answer.
I would be grateful to have your comments about how to make the code
faster or if you have codes performing faster although they are not using
MATLAB commands.
Thanks
I have found this code for narrow-sense RS(255,239):
ahmed shehab - File Exchange - MATLAB Central
Every single operation in Galois fields is written and it is not using MATLAB
commands. It is nice. I want to use m-files to simulate RS(255,239,8). I write
these commands:
X=gfprimdf(8);
Y=GF(8,X);
G=GP(8,Y);
I=randint(1,239);
E=encoder(I,G,Y);
everything is Ok and is done almost fast till the last line. The last
line takes alot of time. I waited 5 mins but it did not finish so I
stopped the script, because for finding the BER against SNR, more than
1 million bits should be sent against AWGN channel by BPSK. So it
would take some days to find the answer.
I would be grateful to have your comments about how to make the code
faster or if you have codes performing faster although they are not using
MATLAB commands.
Thanks