"Cannot find explicit solution"
古いコメントを表示
Matlab says "Cannot find explicit solution", although I can solve it manually.
The initial equation is below:

And the explicit solution is below:

What is wrong with my code, below?
----------------------------------
>> syms x n b r a
eqn = x*(1+n)==(b/(b+1))*r*(1-a)*x^a ;
solx = solve(eqn, x)
Warning: Cannot find explicit solution.
> In solve (line 318)
solx =
Empty sym: 0-by-1
------------------------------------
2 件のコメント
Walter Roberson
2015 年 7 月 20 日
Which MATLAB version are you using?
Check to see if eqns is already a logical value even before the solve() call; that happened in older MATLAB releases.
P J
2015 年 7 月 20 日
編集済み: Walter Roberson
2017 年 7 月 9 日
採用された回答
その他の回答 (1 件)
Shashank kumar
2018 年 7 月 13 日
編集済み: Walter Roberson
2018 年 7 月 13 日
Hello i am also having the same problem. The above explain code is not able to solve my problem. If possible please look into it.
syms y k p b c;
eqn= k*p^(1-a)==b*p^(-a)+c;
eqn=rewrite(eqn,'log');
sol=solve(eqn, p, 'IgnoreAnalyticConstraints',1)
pretty(sol)
1 件のコメント
Walter Roberson
2018 年 7 月 13 日
There is no analytic solution to that equation.
カテゴリ
ヘルプ センター および File Exchange で Code Performance についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
