cfrac.m
Versión 1.0.0.0 (607 Bytes) por
David Terr
cfrax(x,n) returns the first n terms in the contined fraction expansion of x.
2,3K descargas
Actualizado
30 jul 2004
Sin licencia
% cfrac(x,n) returns the first n continued fraction coefficients of a given nonnegative real number x.
Warning: If n is set too large, fewer coefficients may be returned and the last coefficient may be incorrect, due to rounding errors.
Citar como
David Terr (2024). cfrac.m (https://www.mathworks.com/matlabcentral/fileexchange/4974-cfrac-m), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R12
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Más información sobre Calculus en Help Center y MATLAB Answers.
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 | I added two columns to the result. The second and third columns consist of the numerators and denominators of the rational convergents respectively. |