Test suite should be improved because this solution fails for certain values of n.
4207 Solvers
First non-zero element in each column
603 Solvers
Matrix indexing with two vectors of indices
492 Solvers
Convert from Base 10 to base 5
205 Solvers
Replace multiples of 5 with NaN
362 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!