How do I compare two graphs for X value at a specific point?
Show older comments
I have two dataset that gives plots as below. My goal is to match them and get the x value at a certain point. I have been trying interpolation but isn't getting the result I want. Your help is appreciated.
5 Comments
darova
on 28 Mar 2021
What is wrong with interpolation? Why didn't it work?
dpb
on 28 Mar 2021
" My goal is to match them and get the x value at a certain point."
What does this mean, specifically? Match what? The range of neither variable in the two is anything at all like that in the other so what does one have to do with the other at all?
Ashik Rahman
on 28 Mar 2021
dpb
on 28 Mar 2021
Well, you'll have to define what is the end point of the experimental data -- is the last measured point a normalized value of 1.0 or something less since your other figure only goes to 0.9?
Then, you've got a problem in that 7.1/7.8 --> 0.91 for the relative range of your observations whereas the other variable range i covers nearly the full range, so it certainly isn't just a relative ratio.
Tell us exactly what you think your expected result should be here.
Then attach the data for the curves as a .mat file would help immensely for anybody to do anything; otherwise have to try to make up data besides...
Star Strider
on 28 Mar 2021
The plots in the two images not only appear to have no independent or dependent variable values in common, they actually appear to orders-of-magnitude different.
Accepted Answer
More Answers (0)
Categories
Find more on Creating, Deleting, and Querying Graphics Objects 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!
