Problems using the code for genetic algorithm in Matlab 7.0.0

Status
Not open for further replies.

arunava1

Newbie level 1
Joined
Oct 16, 2012
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,286
Sir,
According to your information, I have followed the Matlab code for genetic algorithm used in the chapter 8, "Introduction to Genetic Algorithm" by S.N. Deepa. The function used here is f(x)=x². I have written the code in Matlab 7.0.0 but when I run the program, it gives an error message as 'the function initbp() is not recognized'. Please help me to fix this problem.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…