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

This code is very simple idea for encoding bits of processing in coding. Now I want to map this work for packet encoding. Some papers have been told that we can do this for packet encoding, if we consider each packet en bytes. For example, I have a text file whose size is 3000bytes, I will now divide the file into 1000 packets. Therefore, the size of each packet is 3 bytes. My problem is that I did with bit encoding However, I do not have any idea of ​​working with packet encoding. Please tell me if you have worked with this problem I have heard that there are only two levels 0 and 1 in bit encoding, so we can use GF = 2 if we work for packet level , We should consider GF> 2; I'm not sure that it enter the image details here The second question is if the size of the packet is equal to 50 bytes instead of 3 bytes?

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

Popular posts from this blog

c# - SignalR: "Protocol error: Unknown transport." when navigating to hub -

c# - WPF Expander overlay used in ItemsControl -

class - Kivy: how to instantiate a dynamic classes in python -