FUNCTION REFERENCE

numcoeffs

Number of coefficients of a fittype or fit.

Number of coefficients of a fittype or fit.

Syntax

n = numcoeffs(fitobject)

Example

numcoeffs(fittype('fourier2'))   % 6

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