Products & Services Solutions Academia Support User Community Company

Learn more about Model-Based Calibration   

FitAlgorithm - Fit algorithm for model or boundary model

Syntax

F = M.FitAlgorithm

Description

This is a property of mbcmodel.model, and boundary model objects mbcboundary.AbstractBoundary and all subclasses.

An mbcmodel.model.FitAlgorithm object is contained within the FitAlgorithm property of an mbcmodel.model object or mbcboundary object. This object has a Name property, and the following methods: CreateAlgorithm, getAlternativeNames, IsAlternative, SetupDialog, properties.

As a simpler alternative to using CreateAlgorithm, you can assign the algorithm name directly to the algorithm. For example:

B.FitAlgorithm.BoundaryPointOptions = 'Boundary Only';

m.FitAlgorithm = ‘Minimize PRESS';

Case and spaces are ignored.

For properties, see CreateAlgorithm.

Examples

To get a fitalgorithm object, F, from a model:

M = mbcmodel.CreateModel('Polynomial', 4);
F = M.FitAlgorithm
 
F = 
Algorithm: Least Squares
Alternatives: 'Minimize PRESS','Forward Selection','Backward 
Selection','Prune'
1x1 struct array with no fields.

See Also

CreateAlgorithm, getAlternativeNames, IsAlternative, SetupDialog.

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS