This should be quite straightforward but at 2a.m. my brains are not working 100%. ;)
I has exactly the same idea!!
but on the second line I used directly the logical indexing... ;-)
Matrix with different incremental runs
106 Solvers
627 Solvers
Set the array elements whose value is 13 to 0
958 Solvers
262 Solvers
5812 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!