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.69% Correct | 50.31% Incorrect
Last Solution submitted on May 02, 2025

Problem Comments

Solution Comments

Show comments
LLMs with MATLAB updated to support the latest OpenAI Models
Large Languge model with MATLAB, a free add-on that lets you access...
2
4

Group

Number Manipulation II Image
Number Manipulation II
  • 15 Problems
  • 47 Finishers

Problem Recent Solvers426

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