Cody

Problem 39. Which values occur exactly three times?

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

44.13% Correct | 55.87% Incorrect
Last solution submitted on Nov 19, 2017

Problem Comments

Solution Comments

Tags

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!