0

I have some random points. I need to find the best fit line in 3D space in C#.

Currently I have the algorithm for 2D and it works perfectly. Check the below link,

Algorithm for scatter plot 'best-fit' line

I need to find it in 3D in this same manner. Is there any algorithm for this in C# ?

  • Welcome to Stack Overflow! What have you tried? Please show us your code. You may want to read about how to create a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) – sbridewell Feb 04 '23 at 19:38

0 Answers0