lol much simpler than mine :)
Find all elements less than 0 or greater than 10 and replace them with NaN
13058 Solvers
Replace NaNs with the number that appears to its left in the row.
2019 Solvers
15304 Solvers
73 Solvers
218 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!