フィルターのクリア

Text exceeds maximum line length for Command Window display

2 ビュー (過去 30 日間)
Jahetbe
Jahetbe 2018 年 3 月 24 日
回答済み: Walter Roberson 2018 年 3 月 25 日
Hi every one I have employed "syms" function to calculate the derivation of an explicit equation. Due to that, the function is very complex, the MATLAB cannot show all results of "sysms" function and the "Text exceeds maximum line length for Command Window display" is presented at the end of results The code has been attached. Is there anyone to help me to save all result of "syms" function? Thanks in advance for your kindly response.
  1 件のコメント
David Goodmanson
David Goodmanson 2018 年 3 月 25 日
Hello Jahetbe,
Wow, that must be the longest equation I have ever seen, not counting one million digits of pi or something similar. Since it's a polynomial in two variables, do you know the largest value of m,n in x1^m * x2^n?

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

採用された回答

Walter Roberson
Walter Roberson 2018 年 3 月 25 日
You use a lot of numeric constants, all of which have 6 significant digits. You cannot justify calculating an exact solution to that equation. The absolute most you could justify would be 12 digits but that would be a difficult argument; really you can only justify 6 significant digits of output.
This leads to the solution:
digits(6)
vpa(expand(Dx1))
vpa(expand(Dx2))
The resulting multinomials appear to have total degree 31.

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by