The following error occurred converting from gf to double

Status
Not open for further replies.

ektaagrawal12

Newbie level 4
Joined
Aug 8, 2010
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
kanpur
Activity points
1,336
n=7;
g=3;
for k= 1:n-1
zi(k)=gf(g^k,n)
end;

i found this error

??? The following error occurred converting from gf to double:
Error using ==> double
Conversion to double from gf is not possible.

can any one hep me regarding this
thank u
 

help needed in matlab

GF(X,M) creates a Galois field array from X in the field GF(2^M), for 1<=M<=16.

The elements of X must be integers between 0 and 2^M-1.

In your case for i=5 and 6, you have any out of range.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…