Download and run 'RegularNgon.m' in Matlab to simulate a team of agents achieving a desired regular polygon formation with a fixed scale. Feel free to change the initial starting positions, or the number of agents.
This package is tested in MATLAB R2017b, 64-bit Windows OS.
You can download the files individually from the Google Drive folder (below), or you can download all files in the .zip format directly from here.