How do I record 2 peak values pass a specific number on the X axis?
Show older comments
I attached a .fig file to help describe the data(PeakValues.fig, but if the attachment is missing, someone let me know.). Download the file to see the data.
There are three peaks recorded in the data above 4 on the Y-axis. However, I would like to record only the two peaks past 300 on the X-axis. I would like to record both x and y values of the two peaks and assign each x and y to a variable for finding the midpoint(ex. x1,y1 and x2,y2). What codes would be recommended to record the max values of two peaks if I only want the peaks pass 300?
Accepted Answer
More Answers (0)
Categories
Find more on Descriptive Statistics 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!