- Detrend and Smooth the Signal: This helps in reducing the impact of noise. You can use detrend to remove the linear trend and smoothdata for smoothing the signal.
- Find Extrema: Use findpeaks to find maxima. For minima, you can invert the signal and use findpeaks again.
- Clustering Extrema : If the extrema are clustered in groups (due to noise or signal characteristics), you might want to cluster them to find representative extrema. K-means clustering (kmeans) on the positions of these extrema can be useful, though it's optional and depends on your specific signal characteristics.
Analyse cluster of extrema clusters
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Hi all
I am analysing a signal and would like to know the (periodic) distance of my extrema. Is there any smart function which can cluster those based on the function value and then derive the average distance between maximum and minimum?
Taking all extrema into account doesn´t make sense due to the noises and different signal at start and beginning.
Thanks ahead
0 Commenti
Risposte (1)
prabhat kumar sharma
il 6 Mag 2024
Hi Florian,
I understand that you want to analyze signals and identify the periodic distance between extrema (maximum and minimum points) in a way that is robust against noise, you can use a combination of signal processing techniques and clustering. MATLAB provides a comprehensive set of tools for this purpose.
Here's a general steps that you might find useful:
You can refer the documentations below:
I hope it helps!
0 Commenti
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!