FUNCTION REFERENCE

numargs

Number of inputs of a fittype or fit: coefficients, problem parameters and independent variables.

Number of inputs of a fittype or fit: coefficients, problem parameters and independent variables.

Syntax

n = numargs(fitobject)

Example

numargs(fittype('exp2'))   % 5

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