Why when I use find peaks is it not finding the actual first peak?
Afficher commentaires plus anciens
Using the findpeaks function to find the peaks of my data. It finds most peaks correctly as I used the following code:
findpeaks(ResAcceltrim,'MinPeakDistance',250,'MinPeakHeight',pe);
The distance set stops noise from interfering with the peaks, and the height is determined by what data set i'm using. In this case i believe the peak height is 4. However the first peak is not determined correctly, it is too low, see the two images below.

<<The second image is just cropped to only show the first area of the graph. As you can see the first peak is identified incorrectly.

>>
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Descriptive Statistics dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!