Continuos Fractions and Rational Fractions

2 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Mathematics 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by