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

RoundQCF.m

by

 

19 Jul 2004 (Updated )

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

| Watch this File

File Information
Description

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