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
-
163 Solvers
-
164 Solvers
-
816 Solvers
-
Return the first and last characters of a character array
7116 Solvers
-
Check if number exists in vector
8455 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!