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

Learn moreOpportunities for recent engineering grads.

Apply TodayFind the maximum two numbers of every column of a matrix.

Example:

If we input a matrix

A = [ 1 2 4 6 0 3 4 1 5 ]

we should get

B = [ 6 2 5 4 1 4 ]

59 correct solutions
28 incorrect solutions

Last solution submitted on Apr 14, 2016

1 Comment