parametersWithPenalty
parameter struct with current values
Declaration
params = parametersWithPenalty(splinePenalty)
Parameters
splinePenaltyfunction handle that takes a MaternSpline as an argument and turns a scalar value.
Returns
paramsstructure with fields (K,M,lambda,maternT,maternAlpha,error)
Discussion
Creates a new structure containing current values of (K,M,lambda,maternT,maternAlpha) as well as the value computed from splinePenalty.