Clear Filters
Clear Filters

Continuos Fractions and Rational Fractions

2 views (last 30 days)
Write a function called which takes a vector representing a finite continued fraction and returns the decimal representation of the number.

Answers (1)

Sruthi Ayloo
Sruthi Ayloo on 5 Aug 2015
Hi Jacob,
You can use the Symbolic Math toolbox inbuilt function “ vpa ” for variable precision arithmetic.
Hope this helps.

Categories

Find more on Mathematics in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!