Finding peaks - MATLAB Cody - MATLAB Central

Problem 1366. Finding peaks

Difficulty:Rate

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.43% Correct | 50.57% Incorrect
Last Solution submitted on Mar 01, 2025

Problem Comments

Solution Comments

Show comments
Primes and Rough Numbers, Basic ideas
What is a rough number? What can they be used...
2
4

Problem Recent Solvers420

Suggested Problems

More from this Author9

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Go to top of page