FUNCTION REFERENCE

cfit.predint

Compute prediction or confidence bounds on fitted curve values of a cfit or sfit object.

Compute prediction or confidence bounds on fitted curve values of a cfit or sfit object.

Syntax

pi = predint(fitresult, x)

Syntax

pi = predint(fitresult, x, level, intopt, simopt)

Evaluates lower and upper functional or observation bounds at query points x.

Example

f = fit([1; 2; 3; 4], [2.1; 3.9; 6.1; 8.0], 'poly1'); size(predint(f, [2; 3]))   % [2 2]

Differences from MATLAB: Supports functional/observation and nonsimultaneous/simultaneous options for parametric fits.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.