sir how to write genetic algorithm programming using matlab code
Mostrar comentarios más antiguos
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 comentarios
kavitha darshaka
el 21 de Jul. de 2021
did you find out the answer for this? If you have found, can you please tell me the answer?
Walter Roberson
el 21 de Jul. de 2021
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
el 18 de Ag. de 2022
can you please provide me the code? if you have found answer ,please it would help me alot please
Walter Roberson
el 18 de Ag. de 2022
Pk
el 19 de Ag. de 2022
Thank you sir. but without using ga tool box . I want the code
Walter Roberson
el 19 de Ag. de 2022
It is quite likely that you will have to write the code yourself (or hire someone else to write it.)
Pk
el 20 de Ag. de 2022
Kavitha darshaka Did you find the code for genetic algorithm can you please help me
Sam Chak
el 20 de Ag. de 2022
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?
Pk
el 20 de Ag. de 2022
I want ga code by using mutation and crossover
Pk
el 20 de Ag. de 2022
Please help us
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
el 20 de Ag. de 2022
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
el 21 de Ag. de 2022
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
el 23 de Ag. de 2022
Sir/madam can you please help me if you have code
Pk
el 24 de Ag. de 2022
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
Respuestas (0)
Categorías
Más información sobre Genetic Algorithm en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!