Continuos Fractions and Rational Fractions

1 vue (au cours des 30 derniers jours)
Jacob Tan
Jacob Tan le 3 Août 2015
Commenté : Walter Roberson le 5 Août 2015
Write a function called which takes a vector representing a finite continued fraction and returns the decimal representation of the number.

Réponses (1)

Sruthi Ayloo
Sruthi Ayloo le 5 Août 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