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!
4625 Solvers
220 Solvers
"Low : High - Low : High - Turn around " -- Create a subindices vector
324 Solvers
392 Solvers
How many trades represent all the profit?
526 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!