Problem 1289. Evaluating continued fractions
Solution Stats
Problem Comments
Solution Comments
-
1 Comment
Zikobrelli
on 10 Feb 2014
just to test the function
%José Ramón Menzinger's Solution
-
1 Comment
J.R.! Menzinger
on 26 Feb 2013
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
choi
on 7 Nov 2013
how can i see this??
Problem Recent Solvers51
Suggested Problems
-
425 Solvers
-
Sum all integers from 1 to 2^n
12209 Solvers
-
Given a window, how many subsets of a vector sum positive
831 Solvers
-
Implement simple rotation cypher
1031 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
751 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!