Displaying 1 result from an estimated 1 matches for "ydataa".
Did you mean:
ydata
2008 Aug 20
0
Re gression with Intersection Constraint
...t part is that the two best-fit lines must intersect at the 'best'
intersection point as determined by the data points.
Is there any way to do this in R (I am also trying in Matlab, but yet to get
any solution)?
Here is what it looks like in Matlab:
load pointsA.txt
xdataA = pointsA(:,1);
ydataA = pointsA(:,2);
zdataA = pointsA(:,3);
load pointsR.txt
xdataR = pointsR(:,1);
ydataR = pointsR(:,2);
zdataR = pointsR(:,3);
fit_3D_data(xdataA,ydataA,zdataA,'line','on','on');
fit_3D_data(xdataR,ydataR,zdataR,'line','on','on');
Thanks a lot for...