6楼: Originally posted by
guo_zy_123 at 2015-07-16 10:40:33
function = createFit(x, y)
= prepareCurveData( x, y );
% Set up fittype and options.
ft = fittype( 'a-b*exp(x)', 'independent', 'x', 'dependent', 'y' );
opts = fitoptions( 'Method', 'Nonlin ...