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
-
Find the largest value in the 3D matrix
1523 Solvers
-
302 Solvers
-
Sum the numbers on the main diagonal
582 Solvers
-
Add a row of zeros on top of a matrix
251 Solvers
-
Let's get back to school, and create multiplication tables
213 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!