Main Content

type

cfitsfit、または fittype のオブジェクトの名前

構文

name = type(fun)

説明

name = type(fun) は、cfitsfit、または fittype のオブジェクト 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 で導入