Problem 2687. Find the mode of the given input

Created by Pritesh Shah in Community

Find the statistical mode of the given input.


If X is matrix given below

              [ 3     3     1     4;
                0     0     1     1;
                0     1     2     4]

Then mode must be 1 because it appears the most times.

Assume that mode will be unique for given test case.

Solution Stats

60.0% Correct | 40.0% Incorrect
Last solution submitted on Jan 23, 2019

Recent Solvers46

Suggested Problems

More from this Author73


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!