RoundQCF.m
Version 1.0.0.0 (1.4 KB) by
David Terr
RoundQCF(d,u,v) returns the "round" continued fraction expansion of (u+sqrt(d))/v.
1.9K Downloads
Updated
1 Oct 2004
No License
RoundQCF(d,u,v,quiet) returns the "round" continued fraction expansion of (u+sqrt(d))/v, where u and d are Gaussian integers and v is an ordinary positive integer. It also
returns the round rational convergents
as well as the coefficients u(k) and
v(k) of the recipricols of the remainders x(k) = (u(k)+sqrt(d))/v(k).
Cite As
David Terr (2024). RoundQCF.m (https://www.mathworks.com/matlabcentral/fileexchange/5525-roundqcf-m), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R12
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Unit Conversions in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | I fixed the quiet option. |