Cody

Solution 1618626

Submitted on 28 Aug 2018 by Martin C.
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
x = 8; y_correct = [1 0 0 0]; assert(isequal(your_fcn_name(x),y_correct))

s = '1000' y = [] y = 1 y = 1 0 y = 1 0 0 y = 1 0 0 0