solve

用matlab解方程

s=solve(200-200*x^(-0.4)-6*x,x)

返回:

警告: The solutions are parameterized by the symbols: z2.
To include parameters and conditions in the solution, specify the 'ReturnConditions'
option.
> In solve>warnIfParams (line 500)
In solve (line 356)
警告: The solutions are valid under the following conditions: z2^7 - (100*z2^2)/3 +
100/3 == 0 & -pi/5 < angle(z2) & angle(z2) <= pi/5.
To include parameters and conditions in the solution, specify the 'ReturnConditions'
option.
> In solve>warnIfParams (line 507)
In solve (line 356)

s =

z2^5

help solve中关于z的表述:

Example 12:
syms a x y
[x0, y0, params, conditions] = solve(x^2+y, x, y, 'ReturnConditions', true)
generates a new parameter z to express the infinitely many solutions.
This z can be any complex number, both solutions are valid without
restricting conditions:

===============================================

换思路求解,平方后用fmincon优化!

posted on 2019-04-08 22:02  lanceshield  阅读(1344)  评论(0编辑  收藏  举报

导航