No License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from

Be the first to rate this file! 3 Downloads (last 30 days) File Size: 3.16 KB File ID: #5525 Version: 1.0



David Terr (view profile)


19 Jul 2004 (Updated )

RoundQCF(d,u,v) returns the "round" continued fraction expansion of (u+sqrt(d))/v.

| Watch this File

File Information

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).

Required Products Aerospace Blockset
MATLAB release MATLAB 6.0 (R12)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
30 Jul 2004

I relaxed the restriction of v from positive integers to nonzero integers.

30 Jul 2004

I modified each cell of the output to consist of five columns, which are each explained at the beginning of the file.

30 Jul 2004

I fixed a few bugs.

30 Jul 2004

I updated the description below.

30 Sep 2004

I fixed the documentation a bit.

Contact us