I got tired of solving these problems. So, I just wrote a solution that works for everything.
Find all elements less than 0 or greater than 10 and replace them with NaN
13135 Solvers
1888 Solvers
187 Solvers
Operate on matrices of unequal, yet similar, size
104 Solvers
364 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!