在我的机器上运行,没问题:
Optimizer appears to be converging to a minimum that is not a root:
Sum of squares of the function values is > sqrt(options.TolFun).
Try again with a new starting point.
X1 =
0.2295
0.0317
-0.1424
是不是你的Matlab版本低的原因?我用的是R2008a,Matlab7.6.0