Info

This question is closed. Reopen it to edit or answer.

not enough input arguments error in fitness function code in genetic algorithm optimization

1 view (last 30 days)
function z = my_fun(x) z(:,1) = 1/(2.0589) +0.02*(1/x(:,1));
x(:,1) = [5,8,5,7,6,5,8,8,5,6,7,5,8,5];

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!