QCF.m

QCF(d,u,v,quiet) returns the continued fraction expansion of (u+sqrt(d))/v.
1.7K Downloads
Updated 30 Jul 2004

No License

QCF returns the quadratic continued fraction expansion of (u+sqrt(d))/v. The result is returned as a two-cell expression, with the preperiod in the first cell and the period in the second cell.

Cite As

David Terr (2024). QCF.m (https://www.mathworks.com/matlabcentral/fileexchange/5523-qcf-m), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Quadratic Programming and Cone Programming in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0

I changed the name from QuadraticContinuedFraction.m to QCF.m and fixed a few minor bugs.