Info

This question is closed. Reopen it to edit or answer.

Finding peaks on a curve

1 view (last 30 days)
Mathem.
Mathem. on 4 Apr 2011
Closed: John D'Errico on 25 Dec 2023
Hi! As part of an assignment I am to analyse a few hundred audio files graphically. Each data files contain two arrays that I have plotted against each other on a set of axis, however the curve isn't smooth at all, rather it is quite hazy. Still I want to calculate the number of slopes of significant magnitude (these are quite clear when looking at them graphically, these are the parts that are not hazy and are straight slopes between the greatest maxima/minima). I have tried to use the findpeaks function on the arrays, although they give me all the local minima and maxima they do not give the number of slopes between the significant maxima/minima due to the haziness of the curve. I genuinely appreciate all help
  1 Comment
bym
bym on 4 Apr 2011
can you post a picture of your graphs?

Answers (0)

Community Treasure Hunt

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

Start Hunting!