% Fits a Gaussian to the USA daily deaths for CoVid-19, which includes data for only the left portion of the Gaussian, not the full Gaussian.
%--------------------------------------------------------------------------------------------------------------------------------------------------------
% CLEAN UP - INITIALIZATION STEPS
clc;% Clear the command window.
fprintf('Beginning to run %s.m.\n', mfilename);
closeall;% Close all figures (except those of imtool.)
clearvars;% Erase all existing variables.
workspace;% Make sure the workspace panel is showing.
formatlong g;
formatcompact;
fontSize = 20;
%--------------------------------------------------------------------------------------------------------------------------------------------------------
% TRAINING DATA PREPARATION
% Read in data from workbook.
data =