Rain Water Algorithm

Inspired by the pattern of physically rain water movements from air to the lowest place on the earth
427 Downloads
Updated 7 Jan 2018

View License

Rain Water Algorithm is a new algorithm that inspired by the pattern of physically rain water movements from air to the lowest place on the earth. The initialization stages is performed by determine the number of rain water, number of iteration, dimensions, lower and upper bound of optimized variables. Furthermore, random value of height and mass of each rain water are determined. The velocities (V0) and positions (S0) of rain water are calculated to find out time that needed of rain water to the ground. Dijkstra’s Algorithm is utilized to determine the positions between rain water on the ground. The rain water will move to the lowest positions with each velocities depended on the mass and elevation. New positions will be updated follow the Newton’s law of motion

Cite As

Totok Biyanto (2024). Rain Water Algorithm (https://www.mathworks.com/matlabcentral/fileexchange/65617-rain-water-algorithm), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Earth, Ocean, and Atmospheric Sciences in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0

V1