psooutput

PURPOSE ^

OUTPUT Display PSO estimated parameters and make plots

SYNOPSIS ^

function []=psooutput(outStruct,maxSteps, nRuns, dataX, dataY, tau0, tau1p5, m1, m2, snr, ta, phase, original_fitVal, bestFitVal, c, G, type)

DESCRIPTION ^

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

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Thu 01-Jun-2023 15:09:51 by m2html © 2003-2022