Given an array x, return a number n equal to the largest number of repetitions in your data. For example: If x=[1 2 3 6 8 4 9] then n=1. If x=[2 3 6 2 6 2 2] then n=4.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers53
Suggested Problems
-
630 Solvers
-
Duplicate each element of a vector.
636 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
13669 Solvers
-
Replace multiples of 5 with NaN
468 Solvers
-
123 Solvers
More from this Author99
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!