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??
First non-zero element in each column
603 Solvers
Who knows the last digit of pi?
561 Solvers
124 Solvers
Calculate the Hamming distance between two strings
179 Solvers
62 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!