minimizeOnM
minimize a penalty function by performing a grid search on M
Declaration
error = minimizeOnM(functionOfSpline)
Parameters
splinePenalty
function handle that takes a MaternSpline as an argument and turns a scalar value.
Returns
error
current value of the splinePenalty function
Discussion