DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

SVD ?

Hi,

I would appreciate some help with the following problem. I have a number of 3D space points that I would like to fit a straight line through. The solution to the problem has mentioned to be SVD in this article: https://www.codefull.org/2015/06/3d-line-fitting/

 

What is the equivalent of linear regression in 3D space and how can that be done in Diadem?

 

Thanks in advance,

Tim

 

0 Kudos
Message 1 of 2
(2,641 Views)

Hi,

 

 My name is Jaimie, I'm an Applications Engineer at National Instruments.

 

From what I understand you're trying to find the line of best fit through a number of points in a 3D space. This would be linear regression in 2D, from looking into it, it seems the equivalent to this would be a 3D Orthogonal Distance Regression (ODR) line. I have included the link to a page explaining this:

 

Line of Best Fit For Points in Three Dimensional Space

http://mathforum.org/library/drmath/view/69103.html

 

I can't find an example on this and I believe this would be quite complicated to implement in Diadem. Could I ask why it is that you'd like to have a straight line through through some 3D space points and I may be able to find an alternative solution for you? 

 

Thank you,

Jaimie

0 Kudos
Message 2 of 2
(2,600 Views)