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

12145 Solutions

5234 Solvers

Last Solution submitted on Jan 29, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers5234

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!