The given function returns the index of the maximum value in a given matrix. such as X=[4,3,4,5,9,12,0,5]
if maximum value exist more than 1 time the function returns the index of first instance.
MATLAB and Simulink resources for Arduino, LEGO, and Raspberry PiLearn more
Opportunities for recent engineering grads.Apply Today
New to MATLAB?Learn MATLAB today!
Play games and win prizes!Learn more