Monte Carlo Experimental Design Matlab Code
From charlesreid1
The Monte Carlo code for experimental design consists of several parts:
1. ToyProblem_cmr.m - The toy problem function (this is the function being sampled)
2. MonteCarlo.m - The Monte Carlo driver
Part 1: Monte Carlo routine: creating the sample points, looping over each sample point, evaluating the function at each sample point
Part 2: Postprocessing: fit a function to the data, plot the raw data points, plot the polynomial function, print useful information about the model