There are two files: (1) trainRegressionModel.m, and (2) createfitfig.m The first file creates the regression model (Robust Linear Regression) for the supplied training data. Here is the help file and ...