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.

カテゴリ

質問済み:

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