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

Problem 1480. Mode

Find the mode of the vector

Assumption: no vector is bimodal

Example 1: input=[1 2 3 4 4]; output=4

Example 2: input=[7 1 2 7]; output=7

Problem Group

Solution Statistics

54 correct solutions 4 incorrect solutions
Last solution submitted on Jul 03, 2014