MATLAB: Drawing a straight line to a linear part of curve

curvecurve fittinglinearstraight line

Hello All, it would be very helpful if someone can help me out with drawing a straight line to the linear part of the curve in attached figure. I want to know the intercept value to the x-axis.

Best Answer

Looks like piecewise regression to the rescue again...it has been the subject of some of my previous postings, one quite recent...
Having solved for the breakpoint, you'll also have the coefficients of the two line segments which can be readily used individually.
Related Question