フィルターのクリア

How to get improper fraction representation from rat(x,tol) function?

6 ビュー (過去 30 日間)
Michael Sohnen
Michael Sohnen 2021 年 2 月 2 日
コメント済み: Michael Sohnen 2021 年 2 月 2 日
Dear matlab forum,
Hello. the rat(x,tol) function outputs a string of a continued fraction, for example '5+1/(7+1/4)'. How can I condense this into an improper fraction of only one numerator and denominator?

採用された回答

Walter Roberson
Walter Roberson 2021 年 2 月 2 日
[N,D] = rat(x,tol);

その他の回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by