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

New to MATLAB?

Problem 1366. Finding peaks

Find the peak values in the signal. The peak value is defined as the local maxima. For example, x= [1 12 3 2 7 0 3 1 19 7]; peaks = [12 7 3 19];

Hint: Plot x to visually analyse the signal and get the idea of finding the peak. Another hint : first derivative

Problem Group

Solution Statistics

66 correct solutions 60 incorrect solutions
Last solution submitted on Feb 23, 2015