How can i make optimization by using genetic algorithm to minimize error between desired and simulated force?
2 次查看(过去 30 天)
显示 更早的评论
I want to make an optimization using genetic algorithm to minimize the simulated and desired force? The simulated force is obtained from Csv file
回答(1 个)
Star Strider
2024-12-13
Your fitness function should be something like this:
fitness = @(b) norm(dependent_variable - model_function(b,independent_variable));
Your .csv file should provide the independent variable and one or more dependent variables.
.
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!