Convert Continued Fraction

버전 1.1.0 (2.49 KB) 작성자: David Hill
Convert any continued fraction (non-repeating front portion and repeating portion) to (p + sqrt(d))/q representation.
다운로드 수: 4
업데이트 날짜: 2023/6/27

라이선스 보기

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

인용 양식

David Hill (2025). Convert Continued Fraction (https://www.mathworks.com/matlabcentral/fileexchange/131663-convert-continued-fraction), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2023a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.1.0