Формула 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 polynomialcoeffnames | coeffvalues | fittype | numcoeffs | probnames