Независимая переменная cfit, sfit, или fittype объект
indep = indepnames(fun)
indep = indepnames(fun) возвращает имя независимой переменной или имена (indep) cfit, sfit, или fittype fun объекта. Для кривых indep - массив ячеек 1 на 1 из векторов символов, и для поверхностей indep - массив ячеек 2 на 1 из векторов символов.
f1 = fittype('a*x^2+b*exp(n*x)');
indep1 = indepnames(f1)
indep1 =
'x'
f2 = fittype('a*x^2+b*exp(n*x)','independent','n');
indep2 = indepnames(f2)
indep2 =
'n'