The test suite should include a two element input also, for the sake of completion!
Why are several y_correct vectors not column vector as required by the problem?
The leading solution without the regexp hack: 19.
Find relatively common elements in matrix rows
865 Solvers
485 Solvers
3602 Solvers
219 Solvers
321 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!