| Model-Based Calibration Toolbox™ | ![]() |
Props = localmodel.Properties
This is a property of the mbcmodel.localmodel object, which is a subclass of mbcmodel.model.
See Understanding Model Structure for an explanation of the relationship between the different response types.
Every local model object has an mbcmodel.modelproperties object (within the Properties property). In this object, each local model type has specific properties, as described in the following tables.
Local Polynomial Properties
| Property | Description |
|---|---|
| Order | Polynomial order (vector int: {[0,Inf],2}) |
| InteractionOrder | Maximum order of interaction terms (int: [0,Inf]) |
| TransformInputRange | Transform inputs (Boolean) |
| ParameterNames | List of parameter names (read-only) |
| StepwiseStatus | Stepwise status {'Always','Never','Step'} (cell) |
| Transform | Transform function (char) or empty ('') |
| CovarianceModel | Covariance Model (enum: {'None','Power', |
| CorrelationModel | Correlation Model (enum: {'None','MA(1)','AR(1)', 'AR(2)'}) |
Local Hybrid Spline Properties
| Property | Description |
|---|---|
| Order | Spline and polynomial order (vector int: {[0,3],2}) |
| SplineVariable | Spline variable |
| SplineInteraction | Order of interaction between spline and polynomial (int: [0,3]) |
| Knots: Position of knots (vector real) | ParameterNames: List of parameter names (read-only) |
| StepwiseStatus | Stepwise status {'Always','Never','Step'} (cell) |
| Transform | Transform function (char) or empty ('') |
| CovarianceModel | Covariance Model (enum: {'None','Power', |
| CorrelationModel | Correlation Model (enum: {'None','MA(1)','AR(1)', 'AR(2)'}) |
Local Polynomial Spline Properties
| Property | Description |
|---|---|
| HighOrder | Polynomial order above knot (int: [2,Inf]) |
| LowOrder | Polynomial order below knot (int: [2,Inf]) |
| Transform | Transform function (char) or empty ('') |
| CovarianceModel | Covariance Model (enum: {'None','Power', |
| CorrelationModel | Correlation Model (enum: {'None','MA(1)','AR(1)', 'AR(2)'}) |
| DatumType | Datum Type (enum: {'None','Maximum','Minimum', 'Linked'}) |
Local Polynomial With Datum Properties
| Property | Description |
|---|---|
| Order | Polynomial order (int: [0,Inf]) |
| Transform | Transform function (char) or empty ('') |
| CovarianceModel | Covariance Model (enum: {'None','Power', |
| CorrelationModel | Correlation Model (enum: {'None','MA(1)','AR(1)', 'AR(2)'}) |
| DatumType | Datum Type (enum: {'None','Maximum','Minimum', 'Linked'}) |
Local Free Knot Spline Properties
| Property | Description |
|---|---|
| Order | Spline Order (int: [0,Inf]) |
| NumKnots | Number of knots (int: 'Positive') |
| Transform | Transform function (char) or empty ('') |
| CovarianceModel | Covariance Model (enum: {'None','Power', |
| CorrelationModel | Correlation Model (enum: {'None','MA(1)','AR(1)', 'AR(2)'}) |
Local Truncated Power Series Properties
| Property | Description |
|---|---|
| Order | Polynomial order (int: 'Positive') |
| NumKnots | Number of knots (int: 'Positive') |
| Transform | Transform function (char) or empty ('') |
| CovarianceModel | Covariance Model (enum: {'None','Power', |
| CorrelationModel | Correlation Model (enum: {'None','MA(1)','AR(1)', 'AR(2)'}) |
Local Growth Properties
| Property | Description |
|---|---|
| Model | Growth model (enum: {'expgrowth','gomp', 'logistic','logistic4', 'mmf','richards', 'weibul'}) |
| AlternativeModels | List of growth models (read-only) |
| Transform | Transform function (char) or empty ('') |
| TransformBothSides | Transform both sides (Boolean) |
| CovarianceModel | Covariance Model (enum: {'None','Power', |
| CorrelationModel | Correlation Model (enum: {'None','MA(1)','AR(1)', 'AR(2)'}) |
Local User-Defined Properties
| Property | Description |
|---|---|
| Model | Name of user-defined model (enum: {'exponential'}) |
| AlternativeModels | List of registered user-defined models (read-only) |
| Transform | Transform function (char) or empty ('') |
| TransformBothSides | Transform both sides (Boolean) |
| CovarianceModel | Covariance Model (enum: {'None','Power', |
| CorrelationModel | Correlation Model (enum: {'None','MA(1)','AR(1)', 'AR(2)'}) |
Local Transient Properties
| Property | Description |
|---|---|
| Model | Name of transient model (enum: {'fuelPuddle'}) |
| AlternativeModels | List of registered transient models (read-only) |
| Transform | Transform function (char) or empty ('') |
| TransformBothSides | Transform both sides (Boolean) |
| CovarianceModel | Covariance Model (enum: {'None','Power', |
| CorrelationModel | Correlation Model (enum: {'None','MA(1)','AR(1)', 'AR(2)'}) |
Local Multiple Models Properties
| Property | Description |
|---|---|
| ModelCandidates | List of candidate models (cell) |
| SelectionStatistic | Selection statistic for automatic model selection (char) |
| AutomaticInputRanges | Use data range as model input ranges (Boolean) |
| Transform | Transform function (char) or empty ('') |
Local Average Fit Properties
| Property | Description |
|---|---|
| Model | [1x1 mbcmodel.linearmodel] |
| Transform | Transform function (char) or empty ('') |
To create a local model object, create a model specifying any model Type that begins with the word "local", e.g.,
L = mbcmodel.CreateModel('Local Polynomial',2);To show properties, at the command line enter:
P = L.Properties
P =
Local Polynomial Properties
Order: [3 3]
InteractionOrder: 3
TransformInputRange: 1
ParameterNames: {10x1 cell}
StepwiseStatus: {10x1 cell}
Transform: ''
CovarianceModel: 'None'
CorrelationModel: 'None'
To set the Order property to a quadratic, enter:
>> P.Order = [2,2]
P =
Local Polynomial Properties
Order: [2 2]
InteractionOrder: 2
TransformInputRange: 1
ParameterNames: {6x1 cell}
StepwiseStatus: {6x1 cell}
Transform: ''
CovarianceModel: 'None'
CorrelationModel: 'None'
To update the local model, the properties object must be reassigned to the model as follows:
>> L.Properties = P L = 1 + 2*X1 + 5*X2 + 3*X1^2 + 4*X1*X2 + 6*X2^2 InputData: [0x2 double] OutputData: [0x1 double] Status: Being Edited Linked to Response: not linked
CreateModel, Type (for models), ResponseFeatures(Local Model)
![]() | LoadProject | LocalResponses | ![]() |
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |