I am choosing two end points using ginput [x,y] = ginput(2) and then I need to separate my data set which lies between the two end points. The separated data set must be fitted into the following formula.
y(1),x(1),y(2) are the values taken from ginput. T is a parameter that I need to determine.
How can be done?