


OUTPUT Display PSO estimated parameters and make plots
Input: outStruct: Structure returned by PSO
maxSteps: Maximum iterations of PS)
nRuns: Number of independent PSO runs
dataX: time vector
dataY: data vector
tau0, tau1p5: Chirp time parameters (initial)
m1, m2: Component masses (initial)
snr: Initial specified snr
ta: Initial time of arrival
phase: Initial Phase
original_fitVal: Fitness value at the true parameter location
bestFitVal: Final best run fitness value found by PSO
c, G: Constants
type: Flag to specify Chirp time (Mass) space: 1 (0)
Output: 1. Overlay plot of data realization and estimated signal from
best run
2. Plot of Evolution of Fitness Values for all runs over iteration
3. Plot of Evolution of Best parameter values for all runs
4. Displays Original (if custom signal is injected) and
estimated PSO parameters
Note: saveas() commands can be commented and uncommented based on need
of saving figures