主要内容

Evaluate

Evaluate model, boundary model, or design constraint

    Description

    y = Evaluate(model,x) evaluates the model model at X.

    y = Evaluate(c,x) evaluates the design constraint c at x (negative results are within the constraint).

    y = Evaluate(b,x) evaluates the boundary model b at x. A positive value indicates that the point is outside the boundary. The method cannot evaluate a boundary model until it is fitted.

    Input Arguments

    collapse all

    Model being evaluated, specified as an mbcmodel.model object.

    Data where model is being evaluated, specified as an array of size numpoints-by-nfactors. nfactors is the number of inputs to the model specified using NumInputs and numpoints is the number of row in x.

    For boundary model b, x is a matrix with b.NumInputs columns. All boundaries use the form g(x)=0.

    Design constraint, specified as a mbcdoe.designconstraint object.

    Boundary model, specified as a mbcboundary.Model object.

    Output Arguments

    collapse all

    Predicted value of the model at x, specified as an array of size (numpoints-by-1).

    More About

    collapse all

    Version History

    Introduced in R2007a