Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if

 x = [1 2 5 2 2 7 8 3 3 1 3 8 8 8]

then

 y = [2 3]

Solution Stats

12151 Solutions

5237 Solvers

Last Solution submitted on Feb 12, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers5237

Suggested Problems

More from this Author96

Problem Tags

Community Treasure Hunt

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

Start Hunting!