Is there a way to find 2 points along a 3-dimensional line of best fit? I have plotted 3-dimensional data as well as a linear line of best fit for the data, and am looking to find any 2 points along the linear line of best fit. Attached is the code I used to create the line of best fit as well as the final figure. (ignore the plot error.)
MATLAB: Can I find 2 points along a 3-dimensional linear line of best fit
linear regressionMATLAB
Best Answer