i have 3 bounds how to use it ga toolbox can anyone help me??

1 次查看(过去 30 天)
function [tim]=coolfn(s,n,alp,x) clc clear all s=1.5; alp=0.0827; n=pi; a=(x(1)-x(2)); b=(x(3)-x(2)); r=s^2; y=4/n; z=alp*(n^2); u=(y*(a/b)); tim=(r/z)*log(u);
here x(1),x(2),x(3) are variables. need to put these three bounds into ga toolbox how to implement it help me. thank you

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by