Matching deflection/Inflection points of two plotted curves
5 views (last 30 days)
Show older comments
Ashik Rahman
on 1 Apr 2021
Answered: Sergio Yanez-Pagans
on 1 Apr 2021
Hello,
I am plotting 2 dataset in a figure and the plotted curves are similar in shape as shown in the first image. I am trying to match (closest match) the deflection/inflection point of the curves. I can do it by moviing the axis easily but my goal is to do it by algorithm and when I plot it I get something like in the second image. Any idea how may I proceed?
Image1(Plotted curve)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/569184/image.png)
Image 2 (What it suppose to be or as I want it)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/569189/image.png)
Priority is to match the red circled region of the curves.
Thank you in advance for your help.
0 Comments
Accepted Answer
Sergio Yanez-Pagans
on 1 Apr 2021
Hi Ashik,
Why don't you try this?:
Hope you find this useful!
0 Comments
More Answers (0)
See Also
Categories
Find more on Line Plots 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!