Find the second biggist number in a vector or a matrix - MATLAB Cody - MATLAB Central

Problem 47305. Find the second biggist number in a vector or a matrix

Find the second biggist number in a vector or a matrix.
For example,
x = [1 2 3 4];
y_correct = 3;

Solution Stats

51.58% Correct | 48.42% Incorrect
Last Solution submitted on May 05, 2025

Problem Comments

Solution Comments

Show comments
PIVlab surpasses 100K all-time File Exchange downloads
During the past twelve months, PIVlab, a MATLAB Community Toolbox for particle...
4
8

Problem Recent Solvers49

Suggested Problems

More from this Author2

Community Treasure Hunt

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

Start Hunting!