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
-
Find relatively common elements in matrix rows
1580 Solvers
-
135 Solvers
-
What is the distance from point P(x,y) to the line Ax + By + C = 0?
340 Solvers
-
Back to basics 24 - Symbolic variables
141 Solvers
-
162 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!