x is a vector of votes, e.g. x=[1 2 3 2 2 1 3 2 1 2 2 2 2], who is the winner? 1,2,3?
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers57
Suggested Problems
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
13591 Solvers
-
The Answer to Life, the Universe, and Everything
574 Solvers
-
07 - Common functions and indexing 5
428 Solvers
-
1707 Solvers
-
Find minimum and maximum elements of an array
142 Solvers
More from this Author25
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!