Given a curve (x vs y) I need to do a linear fit but only between two points x1 and x2 of that curve. Then, I need to calculate the slope of this line. Could you suggest me the fastest way to do that? Thanks.
MATLAB: Help with linear fit
fitinterpolationlinear fitslope
Related Question
- How to make a line given a point through which it is passing through and angle from x-axis.
- Giving state-space equation from transfer function G(s)
- Finding the angle of inclination from two end points of a line.
- Hi all, i have fitted a Four Parameters Logistic Regression for the X and Y data. i want to find the local slope of each data point, i would appreciate if somebody can help me on this , the attached image shows the fit
- How to check if to equations are the same
Best Answer