Needs a better test suite, although the problem is so simple it almost doesn't matter.
There is a typo in the second Test Suite answer.
A small but useful improvment would be to do NOT give the answer when starting the problem. Clicking submit is not a problem.
Props to everyone who solved it with a size not equal to 14 for displaying originality despite the best efforts of whoever posted this problem.
this problem confused me which l thought to be hard
Why not make it insist that you take an arbitrary number of parameters. There's no 'extra credit' in this problem.
2nd half of the format string is not needed.
Which values occur exactly three times?
3839 Solvers
730 Solvers
Basics: 'Find the eigenvalues of given matrix
327 Solvers
Determine the number of odd integers in a vector
447 Solvers
Fahrenheit to Celsius converter
363 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!