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 Solvers54
Suggested Problems
-
Sort a list of complex numbers based on far they are from the origin.
5603 Solvers
-
2979 Solvers
-
Set the array elements whose value is 13 to 0
1351 Solvers
-
364 Solvers
-
Sort the vector with the given index
120 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!