How can i make optimization by using genetic algorithm to minimize error between desired and simulated force?

조회 수: 7 (최근 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
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.
.

카테고리

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