Hey
I wrote a function that gives u the sum of the matrix. I try to write it with rerursive, but it doen't get well. i need an explanation..
this is my code –
function total=ff(l)total = 0;for i = 1:numel(l) total = total+l(i);end
any help?
Best Answer