image thumbnail

Bat Algorithm Demo

version 1.2.4 (3.67 KB) by Haydar Khayou
A Graphical illustration of Bat Optimization Algorithm applied on eggcrate function.


Updated 21 Jun 2020

View License

In this demonstration, Standard Bat Algorithm is validated using eggcrate function. I have included a graphical illustration of the bats movements throughout the iterations. This way the user can get a clearer idea on how the algorithm works, as well as calibrating the algorithm coefficients to fit the search space of any optimization problem.

Take a look at: Bat Optimization Algorithm v1.0.0 at:

And: Bat Algorithm 1.1.0 at:

References: XS Yang (2020). The Standard Bat Algorithm (BA) (, MATLAB Central File Exchange. Retrieved June 6, 2020.

Cite As

Haydar Khayou (2021). Bat Algorithm Demo (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!