I need to find Y values between two given points.
Show older comments
I have sets of x coordinates as follows (1527 2127, 2629 3229,...etc)
I need to find the Y values between each set then take all of those values and divide it by the number of sets.
This is an ECG signal and basically, I want to make a new plot which is an average of each cycle.
4 Comments
Roger Stafford
on 11 Nov 2017
You need to define more precisely what you mean by the phrase "the Y values between each set". If your ECG signal is continuous, there will presumably be an infinite continuum of Y values lying between any two distinct Y values, assumed by the signal.
Inteeskimo
on 11 Nov 2017
the cyclist
on 11 Nov 2017
Is x stored in a 10,000 x 2 array? Are the intervals defined by each row of x guaranteed to be disjoint from each other, with no overlap?
Inteeskimo
on 11 Nov 2017
Edited: Inteeskimo
on 11 Nov 2017
Accepted Answer
More Answers (0)
Categories
Find more on Time Series Collections 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!