%% Create Linear Degradation Model with Known Priors
% Create a linear degradation model and configure it with a known prior distribution.

mdl = linearDegradationModel('Theta',0.25,'ThetaVariance',0.002);

%
% The specified prior distribution parameters are stored in the Prior property of the model.

mdl.Prior

%
% The current posterior distribution of the model is also set to match the specified prior distribution. For example, check the posterior value of the slope variance.

mdl.ThetaVariance