MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Opportunities for recent engineering grads.
New to MATLAB?
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.