Main Content

type

cfitsfitfittype 对象的名称

语法

name = type(fun)

说明

name = type(fun) 以字符数组形式返回 cfitsfitfittype 对象 fun 的自定义或库名称 name

示例

f = fittype('a*x^2+b*exp(n*x)');
category(f)
ans =
custom
type(f)
ans =
customnonlinear

g = fittype('fourier4');
category(g)
ans =
library
type(g)
ans =
fourier4

版本历史记录

在 R2006b 中推出