Difficulty when constructing a Jacobian matrix
Posted: Fri Jun 01, 2007 1:59 am
Dear Colleagues,
I am currently building up a model for forecasting. The model is
getting fairly large and suddenly I got the following error message.
(DYNARE was working just fine with a smaller model and once I added
one new parameter, this error message poped up.)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
??? Subscript indices must either be real positive integers or logicals.
Error in ==> dr1 at 139
b = jacobia_(:,k0);
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
I can guess that there is something wrong with k0, but wasn't able
to pin down what I miscoded. Have any of you encountered a similar
error message in the past? I will greatly appreciate if you could share
your experience in overcoming this error message.
Thank you very much in advance.
Nishi
I am currently building up a model for forecasting. The model is
getting fairly large and suddenly I got the following error message.
(DYNARE was working just fine with a smaller model and once I added
one new parameter, this error message poped up.)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
??? Subscript indices must either be real positive integers or logicals.
Error in ==> dr1 at 139
b = jacobia_(:,k0);
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
I can guess that there is something wrong with k0, but wasn't able
to pin down what I miscoded. Have any of you encountered a similar
error message in the past? I will greatly appreciate if you could share
your experience in overcoming this error message.
Thank you very much in advance.
Nishi