I think you try to get the "i" and "j" that the function nonzeros does not give:
http://www.mathworks.de/de/help/matlab/ref/nonzeros.html
Thanks José, I've fixed bugs.
"0" and not "false"... nice shot!
785 Solvers
Project Euler: Problem 5, Smallest multiple
397 Solvers
128 Solvers
351 Solvers
498 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!