林正英对打日本鬼:'gf'域的矩阵怎么变,求matlab高手

来源:百度文库 编辑:高校问答 时间:2024/05/03 07:52:22
像输入语句a=gf(randint(1,8,255),8);
得到a = GF(2^8) array. Primitive polynomial = D^8+D^4+D^3+D^2+1 (285 decimal)

Array elements =

165 239 212 119 160 14 138 116
a是一GF域,许多算术用法都不能给它用了,要怎么转变把它变为
a=
165 239 212 119 160 14 138 116
请高手给出语句

我试验了一下,还是可以对a作四则运算的,不过结果好像是代数域的四则运算结果不同。我觉得可能是gf域的原因吧,可能有它们自己定义的运算。

Operations supported for Galois Field arrays:

+ - - Addition and subtraction of Galois arrays.

* / \ - Matrix multiplication and division of Galois arrays.

.* ./ .\ - Elementwise multiplication and division of Galois arrays

^ - Matrix exponentiation of Galois array.

.^ - Elementwise exponentiation of Galois array.

' .' - Transpose of Galois array.

==, ~= - Relational operators for Galois arrays.

a = GF(2^8) array. Primitive polynomial = D^8+D^4+D^3+D^2+1 (285 decimal)