Given an input character string (e.g. '1001'), return a character string with the bits flipped ('0110').
The test suite does not check that the solution is a character string, but the problem definition requires that it should.
Added this check. (I messed it up a bit the first time I tried to do it, so sorry for some interim weirdness.)
str = num2str(A,formatSpec), could replace '
Invalid solution, really
New test suite invalidates this solution.
Project Euler: Problem 1, Multiples of 3 and 5
1063 Solvers
299 Solvers
198 Solvers
Is this triangle right-angled?
1921 Solvers
Find the dimensions of a matrix
267 Solvers