


ParameterEstimationAlgorithm
Usage:
>> ParameterEstimationAlgorithm(ocp);
Parameters:
ocp link to an OCP object [acado.OCP]
Example:
>> M = [...] % measurement matrix
>> ocp = acado.OCP(M(:,1));
>> algo = acado.ParameterEstimationAlgorithm(ocp);
>> algo.initializeDifferentialStates(M);
See also:
acado.OptimizationAlgorithm.initializeDifferentialStates
acado.OptimizationAlgorithm.initializeAlgebraicStates
acado.OptimizationAlgorithm.initializeControls
acado.OptimizationAlgorithm.initializeParameters
acado.OptimizationAlgorithm.initializeDisturbances
acado.OptimizationAlgorithm.set
Licence:
This file is part of ACADO Toolkit - (http://www.acadotoolkit.org/)
ACADO Toolkit -- A Toolkit for Automatic Control and Dynamic Optimization.
Copyright (C) 2008-2009 by Boris Houska and Hans Joachim Ferreau, K.U.Leuven.
Developed within the Optimization in Engineering Center (OPTEC) under
supervision of Moritz Diehl. All rights reserved.
ACADO Toolkit is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 3 of the License, or (at your option) any later version.
ACADO Toolkit is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with ACADO Toolkit; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Author: David Ariens
Date: 2010


0001 %ParameterEstimationAlgorithm 0002 % 0003 % Usage: 0004 % >> ParameterEstimationAlgorithm(ocp); 0005 % 0006 % Parameters: 0007 % ocp link to an OCP object [acado.OCP] 0008 % 0009 % Example: 0010 % >> M = [...] % measurement matrix 0011 % >> ocp = acado.OCP(M(:,1)); 0012 % >> algo = acado.ParameterEstimationAlgorithm(ocp); 0013 % >> algo.initializeDifferentialStates(M); 0014 % 0015 % See also: 0016 % acado.OptimizationAlgorithm.initializeDifferentialStates 0017 % acado.OptimizationAlgorithm.initializeAlgebraicStates 0018 % acado.OptimizationAlgorithm.initializeControls 0019 % acado.OptimizationAlgorithm.initializeParameters 0020 % acado.OptimizationAlgorithm.initializeDisturbances 0021 % acado.OptimizationAlgorithm.set 0022 % 0023 % Licence: 0024 % This file is part of ACADO Toolkit - (http://www.acadotoolkit.org/) 0025 % 0026 % ACADO Toolkit -- A Toolkit for Automatic Control and Dynamic Optimization. 0027 % Copyright (C) 2008-2009 by Boris Houska and Hans Joachim Ferreau, K.U.Leuven. 0028 % Developed within the Optimization in Engineering Center (OPTEC) under 0029 % supervision of Moritz Diehl. All rights reserved. 0030 % 0031 % ACADO Toolkit is free software; you can redistribute it and/or 0032 % modify it under the terms of the GNU Lesser General Public 0033 % License as published by the Free Software Foundation; either 0034 % version 3 of the License, or (at your option) any later version. 0035 % 0036 % ACADO Toolkit is distributed in the hope that it will be useful, 0037 % but WITHOUT ANY WARRANTY; without even the implied warranty of 0038 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 0039 % Lesser General Public License for more details. 0040 % 0041 % You should have received a copy of the GNU Lesser General Public 0042 % License along with ACADO Toolkit; if not, write to the Free Software 0043 % Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 0044 % 0045 % Author: David Ariens 0046 % Date: 2010 0047 % 0048 classdef ParameterEstimationAlgorithm < acado.OptimizationAlgorithm 0049 properties(SetAccess='private') 0050 0051 end 0052 0053 methods 0054 function obj = ParameterEstimationAlgorithm(varargin) 0055 0056 if (nargin == 1 && isa(varargin{1}, 'acado.OCP') ) 0057 obj.ocp = varargin{1}; 0058 else 0059 error('ERROR: Invalid ParameterEstimationAlgorithm call. See <a href="matlab: help acado.ParameterEstimationAlgorithm">help acado.ParameterEstimationAlgorithm</a>'); 0060 end 0061 0062 end 0063 0064 getInstructions(obj, cppobj, get) 0065 0066 0067 end 0068 0069 end 0070