Question

I two variables YDataVector and diff which are (255 x 1 gf) that is Galois vectors. I need to do division between the two variables like for real numbers

YDataVector = ( YDataVector - 1 ) / diff;

I found that there is also the command gfdiv, which divides elements of Galois fields.

Which kind of operator is \ in Galois Field in Matlab?

So which division operator should I use gfdiv or \ in my case?

Was it helpful?

Solution

gfdiv performs element-wise division whereas gf/mldivide (\) is akin to matrix division (i.e., solving linear systems or inverting matrices). gfdiv appears to be a special case of ./, particularly if P > 2. See this MathWorks article for further details.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top