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??
1800 Solvers
235 Solvers
Magic is simple (for beginners)
2752 Solvers
Create a random logical vector of N elements of which M are true.
85 Solvers
163 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!