Cody

Solution 804478

Submitted on 11 Jan 2016 by Zikobrelli
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

This solution is outdated. To rescore this solution, sign in.

Test Suite

Test Status Code Input and Output
1   Pass
%% x =zeros(10,10,10);x(5,5,5)=10; y_correct = [5 5 5]; assert(isequal(Index_Max3d(x),y_correct))

I = 445 I = 5 J = 5 C = 5 y = 5 5 5

2   Pass
%% x =randn(10,10,10);x(7,5,8)=10; y_correct = [7 5 8]; assert(isequal(Index_Max3d(x),y_correct))

I = 747 I = 7 J = 5 C = 8 y = 7 5 8

3   Pass
%% x =randn(10,10,100);x(10,5,8)=10; y_correct = [10 5 8]; assert(isequal(Index_Max3d(x),y_correct))

I = 750 I = 10 J = 5 C = 8 y = 10 5 8