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 Solvers56
Suggested Problems
-
Project Euler: Problem 1, Multiples of 3 and 5
3387 Solvers
-
Back to basics 23 - Triangular matrix
1042 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
12143 Solvers
-
Matlab Basics II - Log and natural log
184 Solvers
-
851 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!