Continuos Fractions and Rational Fractions

1 visualizzazione (ultimi 30 giorni)
Jacob Tan
Jacob Tan il 3 Ago 2015
Write a function called which takes a vector representing a finite continued fraction and returns the decimal representation of the number.

Risposte (1)

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

Community Treasure Hunt

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

Start Hunting!

Translated by