Convert Continued Fraction
Versione 1.1.0 (2,49 KB) da
David Hill
Convert any continued fraction (non-repeating front portion and repeating portion) to (p + sqrt(d))/q representation.
Convert any continued fraction (non-repeating front portion and repeating portion) to the
representation (where p and q can be negative).
This application can handle very large numbers and long continued fractions.
For example: If the front-portion of the continued fraction is: [1; 2, 3, 4, 5, 6, 7, 8 , 9] and the repeated portion is: [123, 519, 223], just enter these into the respective text boxes when running the GUI. Then hit the calculate button.
continuedFraction;
The results should be:
p = -573592107178500789
d = 50669596954565
q = -400238036392460042
Cita come
David Hill (2024). Convert Continued Fraction (https://www.mathworks.com/matlabcentral/fileexchange/131663-convert-continued-fraction), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2023a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxTag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.1.0 |