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.
|
| 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. |
|
Contact us at files@mathworks.com