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

Solution Stats

49.01% Correct | 50.99% Incorrect
Last solution submitted on Sep 19, 2017

Problem Comments

Solution Comments

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!