Problem with sim command
显示 更早的评论
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
2012-5-23
0 个投票
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Genetic Algorithm 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!