Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Solution 258306

Submitted on 9 Jun 2013 by G K

Correct

12Size
Leading solution size is 12.
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test
Code Input and Output
1
Pass
 
%%
x = [1 6 9; 3 2 8; 6 7 11];
y_correct = 11;
assert(isequal(your_fcn_name(x),y_correct))

                    
2
Pass
 
%%
x = [3 8; 4 2];
y_correct = 8;
assert(isequal(your_fcn_name(x),y_correct))