Galois field array generation...issues!
조회 수: 9 (최근 30일)
이전 댓글 표시
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?
댓글 수: 0
채택된 답변
Walter Roberson
2013년 4월 20일
U(r,:) = gftuple(indx,primpoly,p);
댓글 수: 10
Walter Roberson
2013년 4월 20일
Probably, but I have not researched to find out what the expected output would be.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Error Detection and Correction에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!