I want to find the min vertical distance between two curves:
one of my curves is linear.
But I can't fit a curve to my other curve so the equation is unknown.
calculation of the min vertical distance with iteration causes my code to the malfunctioning behavior.
So I should calculate the min distance without iteration:
IS THERE ANY WAY?
one of my curves is at the following link: The most accurate curve fitting function for the attached plot (It is a thermodynamic properties behavior)
If I understand correctly, you can
Either do a "point by point" comparison between the straight line and the curve [which you probably don't want]
Or you can fit an "appropriate curve" and then calculate the minimum distance between the curve and the straight line. Here, the "appropriate curve" probably comes from "Michaelis–Menten enzyme kinetic model function" [Please Google it]
I can give you more details on how to fit the above curve if that helps.