Формула cfit, sfit, или fittype объект
formula(fun)
formula(fun) возвращает формулу cfit, sfit, или fittype объект fun как символьный массив.
f = fittype('weibull');
formula(f)
ans =
a*b*x^(b-1)*exp(-a*x^b)
g = fittype('cubicspline');
formula(g)
ans =
piecewise polynomialfittype | coeffnames | numcoeffs | probnames | coeffvalues