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

RoundQCF.m

by David Terr

 

19 Jul 2004 (Updated 01 Oct 2004)

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  
Everyone's Tags
Tags I've Applied
Add New Tags 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.

01 Oct 2004

I fixed the quiet option.

Tag Activity for this File
Tag Applied By Date/Time
continued fraction David Terr 22 Oct 2008 07:27:49
quadratic David Terr 22 Oct 2008 07:27:49
round David Terr 22 Oct 2008 07:27:49

Contact us at files@mathworks.com