Description
This problem is the inverse of Problem 136: Read a Soroban Abacus. Provided an N-digit integer, return a logical matrix of size 7xN that symbolizes the input number.
Example
x = 10586; y = [ 1 1 0 0 0 0 0 1 1 1 1 0 0 1 1 0 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 ];
clever using the ans variable!
(just noticed this was submitted on january 31)
Find all elements less than 0 or greater than 10 and replace them with NaN
11620 Solvers
616 Solvers
Project Euler: Problem 9, Pythagorean numbers
157 Solvers
Matrix indexing with two vectors of indices
406 Solvers
Sum of odd numbers in a matrix
232 Solvers
Solution 19599
Hmm, eval should be blocked, kinda screws the whole rating-thingy...
wow, you're very right. gg finding this
oh hey, it is blocked now! i'll rescore the submissions
never mind? huh...