Main Content

probnames

cfitsfit、または fittype のオブジェクトの問題依存パラメーター名

構文

pnames = probnames(fun)

説明

pnames = probnames(fun) は、cfitsfit、または fittype のオブジェクト fun の問題依存 (固定) パラメーターの名前を文字ベクトルの cell 配列として返します。

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

バージョン履歴

R2006b で導入