Download files and run “UAVFormCtrl.m” and "UAVFormCtrlDist.m" in MATLAB to see a simulation of fixed-wing UAVs achieving a desired formation.
This package is tested on MATLAB R2016b, 64-bit. You need CVX installed in order to run the code. CVX is available free from http://cvxr.com/cvx/.
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.