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
-
Find the numeric mean of the prime numbers in a matrix.
9049 Solvers
-
3367 Solvers
-
How to find the position of an element in a vector without using the find function
2773 Solvers
-
965 Solvers
-
07 - Common functions and indexing 4
415 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!