Problem 43112. Counting votes
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 commentsProblem Recent Solvers57
Suggested Problems
-
6077 Solvers
-
Sum the 'edge' values of a matrix
393 Solvers
-
Cumulative product of a vector
297 Solvers
-
Matlab Basics II - Count rows in a matrix
400 Solvers
-
3334 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!