Plot Regression Line From Fitlm, You can use fitlm with the 'RobustOpts' name-value pair argument to fit a robust regression model.