%% Create Default GARCH Model
% Create a default garch model object and specify its parameter values using dot notation.
% Create a GARCH(0,0) model.

Mdl = garch

% Mdl is a garch model. It contains an unknown constant, its offset is 0, and the innovation distribution is 'Gaussian'. The model does not have a GARCH or ARCH polynomial.
%
% Specify two unknown ARCH coefficients for lags one and two using dot notation.

Mdl.ARCH = {NaN NaN}

% The Q and ARCH properties are updated to 2 and {NaN NaN}. The two ARCH coefficients are associated with lags 1 and 2.
% Copyright 2015 The MathWorks, Inc.