Problem 1289. Evaluating continued fractions
45.6% Correct | 54.4% Incorrect
Last Solution submitted on Mar 06, 2023
J.R.! Menzinger on 26 Feb 2013
not a bad idea but...
function ans = contfrac(c)
ans + 1./contfrac(c(:,2:end));
Problem Recent Solvers51
Find relatively common elements in matrix rows
What is the distance from point P(x,y) to the line Ax + By + C = 0?
Back to basics 24 - Symbolic variables
More from this Author10
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!