Cody

Solution 219121

Submitted on 19 Mar 2013
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
%% z = 1; y_correct = 'H'; assert(isequal(atomicNumber(z),y_correct))

2   Fail
%% z = 3; y_correct = 'Li'; assert(isequal(atomicNumber(z),y_correct))

Error: Assertion failed.

3   Fail
%% z = 5; y_correct = 'B'; assert(isequal(atomicNumber(z),y_correct))

Error: Assertion failed.

4   Fail
%% z = 7; y_correct = 'N'; assert(isequal(atomicNumber(z),y_correct))

Error: Assertion failed.

5   Fail
%% z = 22; y_correct = 'Ti'; assert(isequal(atomicNumber(z),y_correct))

Error: Assertion failed.

6   Fail
%% z = 15; y_correct = 'P'; assert(isequal(atomicNumber(z),y_correct))

Error: Assertion failed.

7   Fail
%% z = 13; y_correct = 'Al'; assert(isequal(atomicNumber(z),y_correct))

Error: Assertion failed.

8   Fail
%% z = 10; y_correct = 'Ne'; assert(isequal(atomicNumber(z),y_correct))

Error: Assertion failed.