I have the following plot and a file of the data which creates that plot. I would like to have Matlab find the following points for me:
- [y,x] for peak noted by the 100% line
- [x] for where the plot crosses the y=0 line
- [x] for where y is 50% and 20% of the peak found in part 1.
Are there any add-on tools or packages which people are aware of which can help me accomplish this? I need to do this for a collection of plots so something reasonably automated would be ideal.
I can certainly do the programming and calculation parts in Matlab, it's just a matter of being able to load in the data file, matching it to a curve or function, and find the various [x,y] co-ordinates.
Update Here's a sample dataset I am testing with:
x-values y-values -9.90056E+01 4.08949E-03 -8.58224E+01 -2.52083E-02 -7.26381E+01 3.39976E-02 -5.94526E+01 -6.90023E-02 -4.62659E+01 8.37428E-02 -3.30781E+01 -1.74139E-01 -1.98891E+01 2.09784E-01 -6.69894E+00 7.43248E-01 6.49238E+00 6.08539E-02 1.96849E+01 -1.64983E-01 3.28785E+01 8.34376E-02 4.60733E+01 -6.71712E-02 5.92692E+01 7.21458E-02 7.24664E+01 -2.20038E-02 8.56646E+01 3.44554E-02 9.88641E+01 -9.46063E-04