Continuos Fractions and Rational Fractions

2 ビュー (過去 30 日間)
Jacob Tan
Jacob Tan 2015 年 8 月 3 日
コメント済み: Walter Roberson 2015 年 8 月 5 日
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 日
Hi Jacob,
You can use the Symbolic Math toolbox inbuilt function “ vpa ” for variable precision arithmetic.
Hope this helps.

カテゴリ

Help Center および File ExchangeNumbers and Precision についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by