%% Train Exponential Degradation Model
% Load training data.

load('expTrainVectors.mat')

% The training data is a cell array of column vectors. Each column vector is a degradation feature profile for a component.
%
% Create an exponential degradation model with default settings.

mdl = exponentialDegradationModel;

%
% Train the degradation model using the training data.

fit(mdl,expTrainVectors)

% Copyright 2012 The MathWorks, Inc.