|
|
|
| R2012a Documentation → Model-Based Calibration Toolbox | |
Learn more about Model-Based Calibration Toolbox |
|
| Contents | Index |
[varargout] = evaluateNonlcon(optimstore, X, ItemNames)
Evaluate optimization nonlinear constraints. A method of cgoptimstore.
Y = evaluateNonlcon(optimstore, X) evaluates all of the nonlinear constraints in the optimization at the free variable values X. X must be a (NPoints-by-NFreeVar) matrix where NPoints is the number of points to be evaluated and NFreeVar is the number of free variables in the optimization.
If you enable scaling of the optimization items, then the evaluation of Y is approximately scaled onto [-1 1]. See Scale Optimization for more information on scaling.
Y = evaluateNonlcon(optimstore, X, ItemNames) evaluates the nonlinear constraints specified in the cell array of strings, ItemNames, at the free variable values X. The values of the nonlinear constraints are returned in Y, which is of size (NPoints-by-NItems) where NItems is the number of nonlinear constraints listed in ItemNames.
[Y, YG] = evaluateNonlcon(optimstore, X, ItemNames) also evaluates the gradient of the specified constraints in YG (if ItemNames is not specified, then the gradient of all constraints is returned). YG is of size NFreeVar-by-NItems-by-NPoints, where NFreeVar is the number of free variables in the optimization.

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |