Please add a simple example to the Problem Statement to illustrate the method you describe in words. Please also add further tests to the Test Suite (cf. Problem 44521). Currently it is easily 'hacked', as demonstrated with Solution 1465530.
9974 Solvers
Remove any row in which a NaN appears
6866 Solvers
Create a square matrix of multiples
386 Solvers
How many bottles can you drink?
65 Solvers
Basic commands - Greatest common divisor
124 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!