[D,IsDev] = zerodb(M,Range)
[D,IsDev] = zerodb(M,Range,NCol)
M
[ model ] - Model object for which the zero database will be created.
Range
[ numeric ] - Intended simulation range; the zero database will be created on a range that also automatically includes all the necessary lags.
NCol
[ numeric ] - Number of columns for each variable; the input argument NCol
can be only used on models with one parameterisation.
D
[ struct ] - Database with a tseries object filled with zeros for each linearised variable, a tseries object filled with ones for each log-linearised variables, and a scalar or vector of the currently assigned values for each model parameter.
IsDev
[ true
] - The second output argument is always true
, and can be used to set the option 'deviation='
in model/simulate
.