Problem 1289. Evaluating continued fractions
Solution Stats
Problem Comments
Solution Comments
-
1 Comment
just to test the function
%José Ramón Menzinger's Solution
-
1 Comment
not a bad idea but...
try this:
function ans = contfrac(c)
%%
c(:,1);
if size(c,2)>1
ans + 1./contfrac(c(:,2:end));
end
-
1 Comment
how can i see this??
Problem Recent Solvers48
Suggested Problems
-
Calculate the Levenshtein distance between two strings
765 Solvers
-
1115 Solvers
-
139 Solvers
-
Convert a vector into a number
545 Solvers
-
Are all the three given point in the same line?
331 Solvers
More from this Author10
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!