Home > matlab > list_of_parameters_calibrated_as_NaN.m

list_of_parameters_calibrated_as_NaN

PURPOSE ^

The name of the function is explicit enough...

SYNOPSIS ^

function list = list_of_parameters_calibrated_as_NaN(M_)

DESCRIPTION ^

 The name of the function is explicit enough...
  
 INPUTS
   M_    [structure]   Description of the (simulated or estimated) model.
  
 OUTPUTS
   list  [char]        n*p array of characters, each line is the name of parameter without value.
    
 ALGORITHM
   none
    
 SPECIAL REQUIREMENTS
   none

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function list = list_of_parameters_calibrated_as_NaN(M_)
0002 % The name of the function is explicit enough...
0003 %
0004 % INPUTS
0005 %   M_    [structure]   Description of the (simulated or estimated) model.
0006 %
0007 % OUTPUTS
0008 %   list  [char]        n*p array of characters, each line is the name of parameter without value.
0009 %
0010 % ALGORITHM
0011 %   none
0012 %
0013 % SPECIAL REQUIREMENTS
0014 %   none
0015 
0016 % Copyright (C) 2010-2011 Dynare Team
0017 %
0018 % This file is part of Dynare.
0019 %
0020 % Dynare is free software: you can redistribute it and/or modify
0021 % it under the terms of the GNU General Public License as published by
0022 % the Free Software Foundation, either version 3 of the License, or
0023 % (at your option) any later version.
0024 %
0025 % Dynare is distributed in the hope that it will be useful,
0026 % but WITHOUT ANY WARRANTY; without even the implied warranty of
0027 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0028 % GNU General Public License for more details.
0029 %
0030 % You should have received a copy of the GNU General Public License
0031 % along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
0032 idx  = find(isnan(M_.params));
0033 nnn  = length(idx);
0034 list = [];
0035 if nnn
0036     list = M_.param_names(idx,:);
0037 end

Generated on Mon 21-May-2012 02:42:43 by m2html © 2005