TableDemo.m contains all of the code necessary to duplicate the analysis performed in the "Generating Optimal Tables using MATLAB Products" webinar including:
Code to optimize the location of break points in a table
Code to generate contour maps of the residuals
Richard Willey (2019). Optimizing breakpoints for Tables (https://www.mathworks.com/matlabcentral/fileexchange/26021-optimizing-breakpoints-for-tables), MATLAB Central File Exchange. Retrieved .
This submission would have been nicer if it run on older versions of Matlab which is by no means hard to implement. Also the probability toolbox is also needed along with the curve fitting and the optimization toolboxes.