MATLAB è Simulink íà ðóññêîì

https://hub.exponenta.ru/
\Communications Toolbox

CommunicationsToolbox:

  \ \

RSGENPOLY

:

genpoly = rspoly(n,k);
genpoly = rspoly(n,k,m);
genpoly = rspoly(n,k,field);
[genpoly,t] = rspoly(...);

:

  • genpoly = rspoly(n,k)

n k. genpoly -, . GF(2m), .

  • genpoly = rspoly(n,k,m)

, genpoly = rspoly(2^m-1,k), . n 2m  1, .

  • genpoly = rspoly(n,k,field)

, , field GF(2m), genpoly. field , GF(2m) : m 2m ,  0  1, . , , gftuple([-1:2^m-2]',m). field genpoly , . , .

  • [genpoly,t] = rspoly(...)

(  t).

:

, (15, 11) image7871.gif (1100 bytes).

genpoly = rspoly(15,11,4)

genpoly =
10 3 6 13 0

field , .

m = 4;
field = gftuple([-1:2^m-2]',m,2);
genpoly2 = rspoly(15,11,field)
genpoly2 =
10 3 6 13 0

: encode, decode, rsenco, rsdeco.

   \ \


:


 Orphus