You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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.
Cite As
David Terr (2026). roundcfrac.m (https://au.mathworks.com/matlabcentral/fileexchange/5153-roundcfrac-m), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (752 Bytes)
-
No License
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 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. |
