How to take Average of many waves to single wave(want he averge of all waves to a single wave)
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Lokeswara reddy pamulapate
le 20 Nov 2019
Commenté : Star Strider
le 13 Oct 2023
Hello Everyone, I have a doubt concerning the average of the wave from a set of waves from sinlge dataset. I need to get a single average cuurve from of all the curves of the figure. I am new to matlab and have not been able to do so for a long time. I need you to help and it would be great for me. Thanks in advance.![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/249266/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/249266/image.png)
1 commentaire
Réponse acceptée
Star Strider
le 20 Nov 2019
Used the islocalmin function to find the minima of the waveform, then use those indices to store the wave segments in a cell array. Then use the shortest wave independent variable indices to take the mean of all of them. (This is known as an ensemble average.)
6 commentaires
Simon Green
le 12 Oct 2023
I am trying to do something similar with respiratory data and this is a very helpful start. Cheers.
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!