Check if any duplicates in your data - MATLAB Cody - MATLAB Central

Problem 44281. Check if any duplicates in your data

Difficulty:Rate

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

70.89% Correct | 29.11% Incorrect
Last Solution submitted on Dec 11, 2024

Problem Comments

Solution Comments

Show comments
Why should you share code?
In a discussion on LInkedin about my recent blog post, Do these...
3
6

Problem Recent Solvers51

Suggested Problems

More from this Author100

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!