フィルターのクリア

Solve equation with order higher than 32

1 回表示 (過去 30 日間)
Xin
Xin 2016 年 12 月 4 日
回答済み: Walter Roberson 2016 年 12 月 4 日
I have a very high order equation, something like 0=x^50 + a*x^49 + b*x^48 +...+ 1 I tried to use fzero or program Newton Raphson solver to get the solution but matlab seems to have problem dealing with such high power equations.
Any ideas? Many thanks.

採用された回答

Walter Roberson
Walter Roberson 2016 年 12 月 4 日
Except under limited conditions, any power that large is probably going to lead to numeric nonsense if you try to solve it that way.
For an equation such as that you should try roots().
Better yet, switch to the Symbolic Toolbox and solve() it and double() the results. The symbolic toolbox operates at higher internal precision, especially if you push up the digits setting.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeNewton-Raphson Method についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by