Find the second biggist number in a vector or a matrix.
For example,
x = [1 2 3 4];
y_correct = 3;
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers54
Suggested Problems
-
Swap the first and last columns
23336 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
897 Solvers
-
Sum the numbers on the main diagonal
620 Solvers
-
395 Solvers
-
399 Solvers
More from this Author2
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!