cflibhelp - Information on library models

Syntax

cflibhelp
cflibhelp libtype

Description

cflibhelp displays the names, equations, and descriptions of all models in the curve-fitting library. Library names are used as input arguments in the fit and fittype functions.

cflibhelp libtype restricts the display of names, equations, and descriptions to the subcategory of library models libtype. Recognized library types are listed in the table below.

libtype

Description

distribution

Probability distribution models

exponential

One-term and two-term exponential models

fourier

Fourier polynomial models

gaussian

Sums of Gaussian models, up to eight terms

interpolant

Interpolating models, including linear, nearest neighbor, cubic spline, and shape-preserving cubic spline

polynomial

Polynomial models, up to ninth degree

power

One-term and two-term power models

rational

Ratios of polynomial models, up to degree 5 in both the numerator and the denominator

sin

Sums of sinusoidal models, up to eight terms

spline

Cubic spline and smoothing spline models

For more information on library models, refer to the Library Models section of the User's Guide.

Example

cflibhelp polynomial

  POLYNOMIAL MODELS

        MODELNAME             EQUATION

          poly1                Y = p1*x+p2
          poly2                Y = p1*x^2+p2*x+p3
          poly3                Y = p1*x^3+p2*x^2+...+p4
          ...
          poly9                Y = p1*x^9+p2*x^8+...+p10

See Also

fit, fittype

  


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