encoding - How to encode packet information by XOR in matlab -
I am working in the Channel Coding section. For example, the input bit is encoded with my key information: x = [1 0]
and the G matrix is given
g = 1 0 0 1
Then the encoding symbol will be y = mod (x * G, 2) to convert% mod to binary bit

First of all, when you talk about GF ^ M)
, you mean the galois field, where p
is a prime number that indicates degree of polynomial Therefore, it is possible to define fields with pm
elements in your case, p = 2
and m = 3
. Once, you have a polynomial, you can use it with two different encoding schemes:
- You can split the packet into several blocks of 3 bits and each block is free Can encode in the form. Use zero-padding if they are not multiplier.
- You apply the majority as a sliding algorithm.
The second approach is more robust and there is less delay.
The terminology is used to work with polynomials, the concept of expanded galois fields and polynomials is not very complicated, but it takes time to understand. However, in practice, if you have a polynomial expression, then you can apply it to bit sequence in the fashion you want, block or emergency (or fountain).
You matrix g
actually input X = [1 xx ^ 2]
, i.e. Y1 = 1 + x ^ 2
Defining 4 polynomials for Y2 = x ^ 2
and Y3 = x
, Y4 = 1 + x ^ 2
Comments
Post a Comment