Main Content

formula

cfitsfitfittype 对象的公式

语法

formula(fun)

说明

formula(fun) 以字符数组形式返回 cfitsfitfittype 对象 fun 的公式。

示例

f = fittype('weibull');
formula(f)
ans =
a*b*x^(b-1)*exp(-a*x^b)

g = fittype('cubicspline');
formula(g)
ans =
piecewise polynomial

版本历史记录

在 R2006b 中推出