Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

probvalues

Problem-dependent parameter values of cfit or sfit object

Syntax

pvals = probvalues(fun)

Description

pvals = probvalues(fun) returns the values of the problem-dependent (fixed) parameters of the cfit object fun as a row vector.

Examples

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

| |

Was this topic helpful?