Problem with sim command

조회 수: 1 (최근 30일)
Santhosh Vasudevan
Santhosh Vasudevan 2012년 5월 23일
Hi All,
I get a error message while using sim command ( simulate dynamic system) inside Fitness function which i use for Genetic algorithm.
I know the error is Singularity problem. All i want to know is.. Is there any way by which i can overcome this error. ( that is i want ga to leave those input values and go further with its next search something like try catch go error handling block?)
Thank you in Advance.

답변 (2개)

dimitris
dimitris 2012년 5월 23일
If i understood what you mean, your problem is that for some values you get an error. In this case you can set your constraints in a way that those values are not produced by the ga.

Santhosh Vasudevan
Santhosh Vasudevan 2012년 5월 23일
Thank you so much for replying dimitris
However I dont have mathematical equation to tell at which place those errors might occur. So i want ga to ignore the current input value and try next in the search.
And yes i think you have understood my problem.
Regards Santhosh

카테고리

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