Products & Services Solutions Academia Support User Community Company

Learn more about Curve Fitting Toolbox   

probnames - Problem-dependent parameter names of cfit, sfit, or fittype object

Syntax

pnames = probnames(fun)

Description

pnames = probnames(fun) returns the names of the problem-dependent (fixed) parameters of the cfit, sfit, or fittype object fun as a cell array of strings.

Example

f = fittype('(x-a)^n + b','problem',{'a','b'});
coeffnames(f)
ans = 
    'n'
probnames(f)
ans = 
    'a'
    'b'

load census

c = fit(cdate,pop,f,'problem',{cdate(1),pop(1)},...
        'StartPoint',2);
coeffvalues(c)
ans =
    0.9877
probvalues(c)
ans =
  1.0e+003 *
    1.7900    0.0039

See Also

fittype, coeffnames, probvalues

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

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