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 Solvers52
Suggested Problems
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1988 Solvers
-
Back to basics 23 - Triangular matrix
1117 Solvers
-
446 Solvers
-
Matlab Basics - y as a function of x
525 Solvers
-
224 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!