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 comments
Loading...
Problem Recent Solvers61
Suggested Problems
-
Swap the first and last columns
23008 Solvers
-
Create matrix of replicated elements
399 Solvers
-
Let's get back to school, and create multiplication tables
241 Solvers
-
128 Solvers
-
Replace every 3rd element in a vector with 4
267 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!