Problem 2202. Flip the bit
Solution Stats
Problem Comments
-
2 Comments
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.)
Solution Comments
-
1 Comment
str = num2str(A,formatSpec), could replace '
-
2 Comments
Invalid solution, really
New test suite invalidates this solution.
Problem Recent Solvers192
Suggested Problems
-
How to find the position of an element in a vector without using the find function
2562 Solvers
-
Check if number exists in vector
7257 Solvers
-
302 Solvers
-
3363 Solvers
-
Find the dimensions of a matrix
432 Solvers
More from this Author23
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!