Error using ==> SVD
Posted: Mon Mar 21, 2011 5:05 pm
Hi,
I'm having the following error
??? Error using ==> svd
Input to SVD must not contain NaN or Inf.
Error in ==> cond at 40
s = svd(A);
Error in ==> solve1 at 118
elseif bad_cond_flag && cond(fjac) > 1/sqrt(eps)
Error in ==> dynare_solve at 76
[x,info]=solve1(func,x,1:nn,1:nn,jacobian_flag,1,varargin{:});
Error in ==> steady_ at 120
[oo_.steady_state,check] = dynare_solve([M_.fname '_static'],...
Error in ==> steady at 54
steady_;
Error in ==> usmodelST1shocks at 474
steady;
Error in ==> dynare at 132
evalin('base',fname) ;
I have computed the residuals from the steady state guess and it looks ok. Any idea where the problem is?
Attached my code
Thanks!
j
I'm having the following error
??? Error using ==> svd
Input to SVD must not contain NaN or Inf.
Error in ==> cond at 40
s = svd(A);
Error in ==> solve1 at 118
elseif bad_cond_flag && cond(fjac) > 1/sqrt(eps)
Error in ==> dynare_solve at 76
[x,info]=solve1(func,x,1:nn,1:nn,jacobian_flag,1,varargin{:});
Error in ==> steady_ at 120
[oo_.steady_state,check] = dynare_solve([M_.fname '_static'],...
Error in ==> steady at 54
steady_;
Error in ==> usmodelST1shocks at 474
steady;
Error in ==> dynare at 132
evalin('base',fname) ;
I have computed the residuals from the steady state guess and it looks ok. Any idea where the problem is?
Attached my code
Thanks!
j