FUNCTION REFERENCE

cfit.coeffnames

Return the coefficient names of a fittype, cfit or sfit object.

Return the coefficient names of a fittype, cfit or sfit object.

Syntax

names = coeffnames(fitresult)

Returns a column cell array of coefficient names.

Example

f = fit([1; 2; 3; 4], [2; 4; 6; 8], 'poly1'); numel(coeffnames(f))   % 2

Differences from MATLAB: None.

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