Error using ==> plus Matrix dimensions must agree.

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

Error using ==> plus Matrix dimensions must agree.

Postby Jean-Marc » Fri Jul 30, 2010 8:01 am

I am really confused. I currently use a mod file that seemed to work nicely. But with a slight variation of the model, I still can compute an initial steady state and a final steady state, and the rank condition is still verified, but the following instructions:

stoch_simul(order=1,irf=0); //,nograph,noprint
forecast(periods=50,nograph);

lead me to the following error messages:

??? Error using ==> plus
Matrix dimensions must agree.

Error in ==> dr1 at 435
M1 = inv(f0+[zeros(M_.endo_nbr,nstatic)
f1*gx zeros(M_.endo_nbr,nyf-nboth)]);

Error in ==> resol at 128
[dr,info,M_,options_,oo_] =
dr1(dr,check_flag,M_,options_,oo_);

Error in ==> stoch_simul at 42
[oo_.dr, info] = resol(oo_.steady_state,0);

Error in ==> permanent_shock_theta1 at 587
info = stoch_simul(var_list_);

Error in ==> dynare at 132
evalin('base',fname) ;
Jean-Marc
 
Posts: 4
Joined: Tue Jul 27, 2010 9:37 am

Re: Error using ==> plus Matrix dimensions must agree.

Postby jpfeifer » Fri Jul 30, 2010 8:36 pm

Please post the mod-file.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 6 guests