Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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
 

samir67

Newbie level 6
Joined
Aug 8, 2008
Messages
11
Helped
7
Reputation
14
Reaction score
4
Trophy points
1,283
Activity points
1,324
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.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top