Hello World Genetic Algorithm

Solves User Defined Strings Using A Genetic Algorithm

Vous suivez désormais cette soumission

This is a very efficient implementation of a string solving genetic algorithm. The code has been completely vectorized and the program is able to handle any string of any length as long as it only contains ASCII characters (although this means most symbols are useable).
The code defaults to solving for "Hello, world!", however any input can be defined at the top line of the code.

Citation pour cette source

Grant (2026). Hello World Genetic Algorithm (https://fr.mathworks.com/matlabcentral/fileexchange/49574-hello-world-genetic-algorithm), MATLAB Central File Exchange. Extrait(e) le .

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.3.0.0

Added different types of selection and crossover functions to allow users to learn more about how Genetic Algorithms work. You can now also plot the rate at which the convergence to the ideal answer occurs.

1.2.0.0

added a fun photo.

1.1.0.0

Cleaned up some comments

1.0.0.0