just to test the function
%José Ramón Menzinger's Solution
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
how can i see this??
Find the numeric mean of the prime numbers in a matrix.
6785 Solvers
188 Solvers
Project Euler: Problem 3, Largest prime factor
382 Solvers
Determine if input is a Narcissistic number
120 Solvers
Square Digits Number Chain Terminal Value (Inspired by Project Euler Problem 92)
168 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!