Page 1 of 1

error with RESHAPE

PostPosted: Fri Apr 06, 2007 7:54 pm
by fedemandel
Dear Michel:
after running stoch-simul, I get this error.

??? Error using ==> reshape
To RESHAPE the number of elements must not change.

Error in ==> th_autocovariances at 158
Gamma_y{1} = reshape(imathp_col(1,:),nvar,nvar);

Could you help me with this?
Thanks a lot.
Federico

PostPosted: Sat Apr 07, 2007 7:28 am
by MichelJuillard
Dear Federico,

I need your *.mod file to replicate the problem. I will be traveling for two weeks, so I may take some time before answering you.

Kind regards

Michel

PostPosted: Mon Apr 09, 2007 3:11 pm
by fedemandel
Dear Michel, I have been working on the code during the last days and discover what the problem was (I found a typo in the model). Thanks again for your help.