roundcfrac.m

バージョン 1.0.0.0 (752 Bytes) 作成者: David Terr
Computes the "round continued fraction" of a given complex number.
ダウンロード: 2K
更新 2004/7/30

ライセンスがありません

This function computes the "round continued fraction" of a given complex number, defined similarly to the ordinary continued fraction except one rounds the quotient at each step instead of using the floor. This allows generalization to complex numbers, whose remainders after rounding lie in the square [-1/2, 1/2) + [-1/2, 1/2) i.
Coefficients are returned as a column vector.

引用

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

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

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 being the numerators and denominators of the round rational convergents of x respectively, both possibly negated.