Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.



Re: i need your help seriously
Posted:
Jul 15, 2014 7:27 PM


"amir" wrote in message <lq418s$ept$1@newscl01ah.mathworks.com>... > Hi everybody > i want optimize the shape of airfoil via genetic algorithm to minimize the drag force of airfoil. i have 5 geometric parameters that define the shape of airfoil and in fact this 5 geometric parameters must be optimized. i write a .m file in matlab with 300 lines that take this 5 geometric parameters as input , summon & execute 2 .exe file , and calculate the drag force of airfoil as output...now i dont know how can use this .m file as fitness function in genetic algorithm toolbox in matlab ... please help me >
Spend a few minutes and learn how to use an optimizer.
1. Read the help. Look at the examples. 2. Build a simple function that you can solve for a minimum. 3. See if you can make it work.
Only then should you try a problem that you consider difficult.
It is not hard. Unless you can't bother to learn.
John



