Matlab:用指数求解符号方程

时间:2016-05-31 15:18:55

标签: matlab

Cosider以下代码

syms x u a l
H = (x*u)^a - l*u;
d = solve(diff(H, u) == 0, u) 

这是FOC和d最大化器。现在,最大化器是唯一的,由d=(l/(a*x))^(1-a)/x给出。但是,Matlab解决了d问题。它说

Warning: The solutions are parameterized by the symbols: k.
 To include parameters and conditions in the solution, specify the 'ReturnConditions' option. 
> In solve>warnIfParams (line 500)
  In solve (line 356) 
Warning: The solutions are valid under the following conditions: ((pi/2 + angle(l/(a*x))/(2*(a - 1)))*(a - 1))/pi < k & k <= -((pi/2 - angle(l/(a*x))/(2*(a -
1)))*(a - 1))/pi & in(k, 'integer').
 To include parameters and conditions in the solution, specify the 'ReturnConditions' option. 
> In solve>warnIfParams (line 507)
  In solve (line 356) 

d =

(exp(-(pi*k*2i)/(a - 1))*(l/(a*x))^(1/(a - 1)))/x
  • 为什么这样,我怎样才能象征性地得到正确的解决方案?

0 个答案:

没有答案