Hua1018 发表于 2015-3-30 21:20 
先给已经知道的参数赋值,
用beta=fsolve(@(beta)等式左边的表达式,[ 随意选取一个初值])
beta=fsolve(@(beta)0.5*0.2^2*beta^2+0.3*beta-0.4+0.2^beta,0)
输入这个命令,函数是beta的二次方程,但求出来只有一个解,怎么回事?
matlab显示如下:
No solution found.
fsolve stopped because the problem appears regular as measured by the gradient,
but the vector of function values is not near zero as measured by the
default value of the function tolerance.