I am encountering the following errors while running genetic algorithm

조회 수: 14 (최근 30일)
Aasia Rehman
Aasia Rehman 2017년 3월 6일
댓글: ali hassan 2020년 9월 29일
Error using TDOA Too many input arguments.
Error in createAnonymousFcn>@(x)fcn(x,FcnArgs{:}) (line 11) fcn_handle = @(x) fcn(x,FcnArgs{:});
Error in makeState (line 47) firstMemberScore = FitnessFcn(state.Population(initScoreProvided+1,:));
Error in galincon (line 17) state = makeState(GenomeLength,FitnessFcn,Iterate,output.problemtype,options);
Error in ga (line 359) [x,fval,exitFlag,output,population,scores] = galincon(FitnessFcn,nvars, ...
Error in Main (line 46) [Best_pos,fval] = ga(@TDOA,nvars,[],[],[],[],lb,ub,[],options); %bestpos=estimated pos, bestscore=? , PSO_cg_curve
Caused by: Failure in initial user-supplied fitness function evaluation. GA cannot continue.
  댓글 수: 1
ali hassan
ali hassan 2020년 9월 29일
were you able to solve your problem mam.
kindly share the code coz i am also working on tdoa. i need the matlab code.
jazak allah

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Genetic Algorithm에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by