フィルターのクリア

Unable to find explicit solution

2 ビュー (過去 30 日間)
SooShiant
SooShiant 2020 年 12 月 4 日
コメント済み: David Goodmanson 2020 年 12 月 4 日
I have MATLAB R2020a and need to solve the equation below:
syms x P R F A
eqn = (F^2*P^(R - 1)*x)/(2*(x^R - P^R + P^R*R))==A
S = solve(eqn,x)
But I receive this:
Warning: Unable to find explicit solution. For options, see help.
> In sym/solve (line 317)
S =
Empty sym: 0-by-1
Is there anyway to solve that equation or any idea?
  5 件のコメント
SooShiant
SooShiant 2020 年 12 月 4 日
Great, You Are Genius. How to add a reputation for you?
David Goodmanson
David Goodmanson 2020 年 12 月 4 日
Hi S^2, thanks for the thought, but you can't add reputation points because I posted it as a comment and not an answer, besides which what I said did not tell the whole story. fzero will also work on
(F^2*P^(R - 1)*x)/(2*(x^R - P^R + P^R*R)) - A
which is closer to the original eqn. With that you just have to be a bit more careful with a starting guess region, because the denominator can go to zero (depending on the constants), sending the function to infinity.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by