Find all elements less than 0 or greater than 10 and replace them with NaN
13264 Solvers
Replace NaNs with the number that appears to its left in the row.
2056 Solvers
Make a run-length companion vector
524 Solvers
Create matrix of replicated elements
326 Solvers
255 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!