Cody

Problem 1923. Find the maximum two numbers of every column of a matrix

Solution 368368

Submitted on 11 Dec 2013 by Jean-Marie Sainthillier
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 = [1 2 4 6 0 3 4 1 5]; y_correct = [6 2 5 4 1 4]; assert(isequal(your_fcn_name(x),y_correct))

Suggested Problems

More from this Author17

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!