-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generated correction symbols do not match those ones of MATLAB #66
Comments
Try with I would suggest you try this function here to autodetect the parameters by providing the message without the ecc, and then the message with ecc symbols (ie, the input and output of what you fed/received from matlab rs codec), and the algo should tell you what are the adequate parameters. |
Thanks! It works. |
Awesome, thank you very much for your feedback!
Out of curiosity, what parameters worked? Is it fcr=1 or another set of parameters?
10 juil. 2023 08:19:40 DmitryYenkov ***@***.***>:
…
Thanks! It works.
I tried 5 or 6 different implementations of RS encoder from github and none of them give the same result as MATLAB.
—
Reply to this email directly, view it on GitHub[#66 (comment)], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AAIRFXXDZOEEWRHZC6AUFP3XPONHZANCNFSM6AAAAAAZ63BFFI].
You are receiving this because you commented.[Image de pistage][https://github.com/notifications/beacon/AAIRFXXB2AXGPUJWRQHDLHLXPONHZA5CNFSM6AAAAAAZ63BFFKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTBBYGFG.gif]
|
With fcr=1. In MATLAB there is a function for creation of generator polynomial for RS-code - rsgenpoly.
But I guess with fcr=0 this polynom is different. I extracted one from this github project: And it looks like this: So, here is a comparation. 1st output is default to MATLAB, 2nd is with poly (1,59,13,...) and 3rd is with (1,118,52,...) poly |
Thank you very much for your feedback! I’m reopening this issue to remind myself to add the autodetection script in reedsolo directly so that it will be easier for others to find the adequate parameters for messages encoded by arbitrary RS codecs, and also to document better the interoperability with MATLAB (a common RS codec). |
prim=285 is the same, as the length and number of correction symbols.
Why is the difference?
How can I get same result?
The text was updated successfully, but these errors were encountered: