Cody

Solution 1112002

Submitted on 28 Jan 2017 by paolo77
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 = 1; y_correct = zeros(4,4,3,4); assert(isequal(your_fcn_name(x),y_correct))

y(:,:,1,1) = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 y(:,:,2,1) = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 y(:,:,3,1) = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 y(:,:,1,2) = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 y(:,:,2,2) = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 y(:,:,3,2) = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 y(:,:,1,3) = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 y(:,:,2,3) = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 y(:,:,3,3) = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 y(:,:,1,4) = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 y(:,:,2,4) = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 y(:,:,3,4) = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Suggested Problems

More from this Author27