How do I extract points from a plot for further computation?
Show older comments
I have this set of points: (time, voltage). I plotted the data and now I need to pick 2 time points between which I need to make an average of voltage values. I tried using this:
[x,y] = ginput(2)
But it is not getting me time in the x vector. Any suggestion? Thank you for your time and help!
2 Comments
Matthew Eicholtz
on 12 Oct 2017
What is it giving you in the x vector? I just tried it and got what I expected from ginput.
Andreia dos Santos
on 12 Oct 2017
Accepted Answer
More Answers (0)
Categories
Find more on Graphics Performance 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!

