Cody

# Problem 1120. Visualization of experimental data across a surface

Solution 176596

Submitted on 12 Dec 2012
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   Fail
%% data = [0 0 5;1 1 2;2 2 7;3 3 8;1 1 6]; output = [NaN NaN NaN 8;NaN NaN 7 NaN;NaN 6 NaN NaN;5 NaN NaN NaN]; assert(isequalwithequalnans(data2matrix(data),output))

Error: Output argument "output" (and maybe others) not assigned during call to "/users/msssystem4/data2matrix.m>data2matrix".

2   Fail
%% data = []; output = [NaN NaN NaN NaN;NaN NaN NaN NaN;NaN NaN NaN NaN;NaN NaN NaN NaN]; assert(isequalwithequalnans(data2matrix(data),output))

Error: Output argument "output" (and maybe others) not assigned during call to "/users/msssystem4/data2matrix.m>data2matrix".

3   Fail
%% data = [0 0 -5;1 1 -2;2 2 -7;3 3 -8;1 1 -6]; output = [NaN NaN NaN -8;NaN NaN -7 NaN;NaN -6 NaN NaN;-5 NaN NaN NaN]; assert(isequalwithequalnans(data2matrix(data),output))

Error: Output argument "output" (and maybe others) not assigned during call to "/users/msssystem4/data2matrix.m>data2matrix".