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!
Find the two most distant points
1629 Solvers
The Goldbach Conjecture, Part 2
1286 Solvers
1263 Solvers
17137 Solvers
07 - Common functions and indexing 6
348 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!