I am clueless about how to write fitness function on genetic algorithm for non linear transcedental equations in selective harmonic elimination of multilevel inverter.? can anyone help me?
1 view (last 30 days)
Show older comments
the equations to be solved are:
m = 1/3 {cosx1 + cos x2 +cosx3}; 0 = cos 5x1 + cos 5x2 + cos 5x3; 0 = cos 7x1 + cos 7x2 + cos 7x3;
2 Comments
John D'Errico
on 17 Sep 2015
Edited: John D'Errico
on 17 Sep 2015
Is there some reason why you think you need a genetic algorithm for this? For example, solve does it nicely.
I would suggest you first learn how to write something in MATLAB, as it appears you lack knowledge of basic MATLAB syntax. Then try solving something simple using the symbolic toolbox. Then try solving this problem, which is not that difficult to solve.
muneeb ahmad
on 4 Nov 2015
u can use optimization toolbox in MATLAB...... where toolbox for GA is available
Answers (0)
See Also
Categories
Find more on Genetic Algorithm in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!