Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: i need your help seriously
Replies: 3   Last Post: Jul 16, 2014 11:28 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
John D'Errico

Posts: 9,074
Registered: 12/7/04
Re: i need your help seriously
Posted: Jul 15, 2014 7:27 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"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



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.