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 1041. Find Index of maximum Value and maximum Value of a vector

Created by Richard Zapor

Find the Index of the first occurrence of the maximum value in a vector and also the maximum value in the vector.

Example: [1 2 5 7 5 7 4 3] Returns 7 and 4

[1 4;2 3] Returns 4 and 2

Tags

Problem Group

Solution Statistics

71 correct solutions 102 incorrect solutions
Last solution submitted on Sep 26, 2014

Problem Comments