sir how to write genetic algorithm programming using matlab code
5 次查看(过去 30 天)
显示 更早的评论
anusha achugatla
2016-3-4
my project is to minimize 5th and 7th harmonics in 7 level multilevel inverter using Selective Harmonic Elimination PWM technique. iam not getting source code to generate 3 switching angles
15 个评论
kavitha darshaka
2021-7-21
did you find out the answer for this? If you have found, can you please tell me the answer?
Walter Roberson
2021-7-21
If your angles are variables then you should probably constrain them. However, you might not want to constrain to a single period: you might want to constrain to a bit wider than a single period so that you do not hit constraints while searching right near a boundary.
Pk
2022-8-18
can you please provide me the code? if you have found answer ,please it would help me alot please
Walter Roberson
2022-8-18
Walter Roberson
2022-8-19
It is quite likely that you will have to write the code yourself (or hire someone else to write it.)
Sam Chak
2022-8-20
Hi @Pk
If you have the GA code that is written without the using the commands in the Global Optimization Toolbox, I'd like to know how exactly you are going use it to solve your problem.
Are you going to simply insert the Fitness Function, and let the program searches for you?
Or, you are going to set the likelihoods of crossover and mutation?
Say, if the GA is unavailable, how to manually solve your problem according to the knowledge of Engineering and Physics?
Sam Chak
2022-8-20
编辑:Sam Chak
2022-8-20
Not sure how to help as I don't receive the info that I need to advise you appropriately.
It is unnecessary to constrain yourself to use only GA to solve the problem.
If it is a research, as long as you can use other available methods and the solution is acceptable and practical to many, then it is probably considered a good solution.
Read my queries and try answering each one to your best.
Are you good at Genetic Algorithm at the fundamental level (not talking about click and run the code)?
Walter Roberson
2022-8-20
I do not understand why you do not want to use Mathworks ga(), but you are willing to use code that someone else wrote.
If the outcome is what is important, then use ga() which has the advantage of having a number of years of thought and debugging put into it.
If this is intended to be a learning task to explore genetic algorithms, then you would be expected to write the code yourself.
Pk
2022-8-21
I used ga tool box. But I want to learn the ga code this is the basic for algorithm based on this we have (Pso,ABC) ALGORITHM WILL BE WRITTEN. SO I TRIED BUT GETTING ERRORS AND THE CODE WOULD BE WRONG. CAN YOU PLEASE HELP ME
Pk
2022-8-24
Hi madam( anusha achugutla ) If you have code for multi level inverter can you please help me how to sort out this problem this would help me a lot please madam
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Genetic Algorithm 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!发生错误
由于页面发生更改,无法完成操作。请重新加载页面以查看其更新后的状态。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
- América Latina (Español)
- Canada (English)
- United States (English)
欧洲
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom(English)
亚太
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)
