Filter löschen
Filter löschen

Galois field array generation...issues!

1 Ansicht (letzte 30 Tage)
Malik
Malik am 20 Apr. 2013
for the given code:
primpoly = 1 0 1 1
m = 4( assumed)
indx = [0:1:2.^m-1]; %power index
for r = 1:length(indx)
U = gftuple(indx,primpoly,p)
end
I want U to be listed out in a p.^m-1 by m+1 array and not separately. so that i can access each row of U for further computation. but with the above i get U separately for each loop run and the previous U is over-written.
Also, Can i code it without using gftuple, like without any built-in function?

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 20 Apr. 2013
U(r,:) = gftuple(indx,primpoly,p);
  10 Kommentare
Malik
Malik am 20 Apr. 2013
Is there some way to code this gf tuple function without using the built-in function?
Walter Roberson
Walter Roberson am 20 Apr. 2013
Probably, but I have not researched to find out what the expected output would be.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Operators and Elementary Operations finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by