Combining repetitive curves into one average curve

14 次查看(过去 30 天)
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 个评论
dpb
dpb 2021-2-20
Same as I outlined above -- once you find the breakpoints, iterate through those pairs and then interpolate them over a common range to average.

请先登录,再进行评论。

采纳的回答

Star Strider
Star Strider 2021-2-20
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 个评论
Dhakshenan Pushparajan
Thank you so much!! This is perfect
If you don't mind me asking, how did you get so good at MATLAB. I'm just starting out and want to improve
Star Strider
Star Strider 2021-2-24
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.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Multirate Signal Processing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by