Continuos Fractions and Rational Fractions

Write a function called which takes a vector representing a finite continued fraction and returns the decimal representation of the number.

답변 (1개)

Sruthi Ayloo
Sruthi Ayloo 2015년 8월 5일

0 개 추천

Hi Jacob,
You can use the Symbolic Math toolbox inbuilt function “ vpa ” for variable precision arithmetic.
Hope this helps.

카테고리

도움말 센터File Exchange에서 Logical에 대해 자세히 알아보기

질문:

2015년 8월 3일

댓글:

2015년 8월 5일

Community Treasure Hunt

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

Start Hunting!

Translated by