Combining repetitive curves into one average curve
8 views (last 30 days)
Show older comments
Dhakshenan Pushparajan
on 16 Feb 2021
Commented: Star Strider
on 24 Feb 2021
So I have this curve that I obtained/created from mulitple discrete time signals. I was wondering if it was possible to combine these curves into one average curve? I need to do some calculations based on amplitude, peak width, etc. and it will be easier if the curves were averaged. The figure only shows 4 waves but theres approximately 1000 in the full dataset.
4 Comments
dpb
on 20 Feb 2021
Same as I outlined above -- once you find the breakpoints, iterate through those pairs and then interpolate them over a common range to average.
Accepted Answer
Star Strider
on 20 Feb 2021
One option is to do something similar to the approach in How do I find and plot the average of action potentials from a trace?
6 Comments
Star Strider
on 24 Feb 2021
As always, my pleasure!
I have been using MATLAB since the early 1990s, and have been involved in Answers for about the last 7 or 8 years. In addition to writing code for my own applications, working with Answers problems has been a benefit to me, because it allowed me to experiment and learn.
More Answers (0)
See Also
Categories
Find more on Multirate Signal Processing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!