63 h << V*m(i,0)/(km + m(i,0)) - m(i,1);
100 printf(
"\n\nResults for the parameters: \n");
101 printf(
"-----------------------------------------------\n");
102 printf(
" V = %.3e +/- %.3e \n", parameters(0,0),
sqrt( var(0,0) ) );
103 printf(
" km = %.3e +/- %.3e \n", parameters(0,1),
sqrt( var(1,1) ) );
104 printf(
"-----------------------------------------------\n\n\n");
Allows to setup and evaluate a general function based on SymbolicExpressions.
IntermediateState sqrt(const Expression &arg)
#define USING_NAMESPACE_ACADO
Provides a time grid consisting of vector-valued optimization variables at each grid point...
returnValue getParameters(VariablesGrid &u_) const
returnValue subjectTo(const DifferentialEquation &differentialEquation_)
returnValue getParameterVarianceCovariance(DMatrix &pVar)
User-interface to formulate and solve parameter estimation problems.
returnValue minimizeLSQ(const DMatrix &S, const Function &h, const DVector &r)
Data class for defining static optimization problems.
double getObjectiveValue(const char *fileName) const
virtual returnValue read(std::istream &_stream)
unsigned getNumRows() const
virtual returnValue solve()