vpasolve accuracy in two equations with two variables
6 ビュー (過去 30 日間)
古いコメントを表示
sason yaakov bochnick
2022 年 9 月 22 日
コメント済み: Star Strider
2022 年 9 月 28 日
I got two massive equations with two variables, and vpasolve can not find the solution because that commend search for an accurate answer, which does not exist. I want to get the nearest value of the variables that solve the equations. For example, I am satisfied with 90% accurate solutions.
can I add an accurate aspect in the commend vpasolve?
if not, what command or simple method can I use?
2 件のコメント
Torsten
2022 年 9 月 22 日
The enhanced accuracy in contrast to other methods is never the reason why vpasolve fails to find a solution.
To get a useful answer from the forum, we have to see your equations.
採用された回答
Star Strider
2022 年 9 月 22 日
I am not certain what problem you are having.
One option is to solve the equations and then use vpa on the solutions.
Example —
syms x
Eqn = x^5 + 2*x^4 + 10*x^3 - 3*x^2 - 110*x + 1
xs = solve(Eqn,x)
xsn = vpa(xs)
.
8 件のコメント
Star Strider
2022 年 9 月 28 日
My pleasure!
If my Answer helped you solve your problem, please Accept it!
.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Loops and Conditional Statements についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!