binary polynomial division help

3 Ansichten (letzte 30 Tage)
Adrian Holmes
Adrian Holmes am 2 Nov. 2012
I'm struggling with binary polynomial division.
I have a vector of data which is a message sent over a wireless link.
I have formed the data in to a vector of 1x341 which although it holds doubles actually contains only binary (0 or 1) values in each element.
I'm trying to determine the parity given g(x) = x^75 + x^73 ....... + x + 1
The spec states that the parity must be checked by determining if the first n bits (considered as a polynomial) are divisible by g(x). I'm assuming n is my 341 bit message.
Any suggestions how I go about this division?
  1 Kommentar
Star Strider
Star Strider am 2 Nov. 2012
I believe you have to use the Communication System Toolbox function gfdeconv.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Adrian Holmes
Adrian Holmes am 13 Nov. 2012
Thanks for the replies. gfdeconv worked for me once I had corrected my error in the code generating polynomial (g(x)).
Now to work out how to implement that in VHDL.......
:)

Weitere Antworten (1)

Matt J
Matt J am 2 Nov. 2012
Use the DECONV command to perform polynomial division.
  1 Kommentar
Walter Roberson
Walter Roberson am 2 Nov. 2012
Bearbeitet: Walter Roberson am 2 Nov. 2012
Interesting approach.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Polynomials finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by