It is strongly recommended to include several tests in your Test Suite, otherwise the solution is easy to hardcode (see Solution 1470259). See also Problem 44521 for further discussion of this topic.
Program an exclusive OR operation with logical operators
639 Solvers
Number of 1s in a binary string
2819 Solvers
321 Solvers
273 Solvers
Basic commands - amount of inputs
134 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!