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

Star Strider
Star Strider 2012년 11월 2일
I believe you have to use the Communication System Toolbox function gfdeconv.

댓글을 달려면 로그인하십시오.

 채택된 답변

Adrian Holmes
Adrian Holmes 2012년 11월 13일

0 개 추천

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.......
:)

추가 답변 (1개)

Matt J
Matt J 2012년 11월 2일

0 개 추천

Use the DECONV command to perform polynomial division.

카테고리

도움말 센터 및 File Exchange에서 Polynomials에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by