Problem with sim command
1 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(2 个)
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Genetic Algorithm 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!