cfrac.m

バージョン 1.0.0.0 (607 Bytes) 作成者: David Terr
cfrax(x,n) returns the first n terms in the contined fraction expansion of x.
ダウンロード: 2.3K
更新 2004/7/30

ライセンスがありません

% cfrac(x,n) returns the first n continued fraction coefficients of a given nonnegative real number x.

Warning: If n is set too large, fewer coefficients may be returned and the last coefficient may be incorrect, due to rounding errors.

引用

David Terr (2024). cfrac.m (https://www.mathworks.com/matlabcentral/fileexchange/4974-cfrac-m), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R12
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersCalculus についてさらに検索

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0

I added two columns to the result. The second and third columns consist of the numerators and denominators of the rational convergents respectively.