No BSD License  

Highlights from
QCF.m

Be the first to rate this file! 0 Downloads (last 30 days) File Size: 3.86 KB File ID: #5523

QCF.m

by David Terr

 

19 Jul 2004 (Updated 30 Jul 2004)

QCF(d,u,v,quiet) returns the continued fraction expansion of (u+sqrt(d))/v.

| Watch this File

File Information
Description

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.

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 modified the output cells to consist of 5 columns each, the explanation of which are given at the top of the file.

30 Jul 2004

I fixed a small error in the documentation.

30 Jul 2004

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

30 Jul 2004

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

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
fraction David Terr 22 Oct 2008 07:27:49
twocell David Terr 22 Oct 2008 07:27:49
preperiod David Terr 22 Oct 2008 07:27:49

Contact us at files@mathworks.com