matlab运行时,lsqcurvefit出现问题,出现问题提示如下:Local minimum possible.lsqcurvefit stopped because the final change in the sum of squares relative to its initial value is less than the selected value of the function tolerance.Optim
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/27 10:34:36
matlab运行时,lsqcurvefit出现问题,出现问题提示如下:Local minimum possible.lsqcurvefit stopped because the final change in the sum of squares relative to its initial value is less than the selected value of the function tolerance.Optim
matlab运行时,lsqcurvefit出现问题,
出现问题提示如下:
Local minimum possible.
lsqcurvefit stopped because the final change in the sum of squares relative to its initial value is less than the selected value of the function tolerance.
Optimization stopped because the relative sum of squares (r) is changing
by less than options.TolFun = 1.000000e-008.
Optimization Metric
Optionsrelative change r = 3.23e-009 TolFun = 1e-008 (selected)
我的原代码段如下:
X0=[m_x,a_x,omega0,0]; %X初始值
lb=[-1,0,0,0]; ub=[1,1,inf,2*pi]; %X取值上下限
options=optimset('MaxFunEvals',2^12,'MaxIter',2^14,'TolX',1e-8,'TolFun',1e-8);
X=lsqcurvefit(@myfun,X0,t2,cos(beita_t),lb,ub,options);
matlab运行时,lsqcurvefit出现问题,出现问题提示如下:Local minimum possible.lsqcurvefit stopped because the final change in the sum of squares relative to its initial value is less than the selected value of the function tolerance.Optim
你能把具体问题给我吗,看我能不能帮到你[email protected]