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!
2999 Solvers
615 Solvers
Create a function handle that reverses the input arguments of another function handle
124 Solvers
2474 Solvers
283 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!