I have a large set of 3D data points to which I want to fit to an ellipsoid.
My maths is pretty poor, so I\'m having trouble implementing the least squares method withou
I have an idea. Approximately solution, not the best but will keep points inside. In XY plane find the radius R1 that will obtain all points. Same do for the XZ plane (R2) and YZ plane (R3). Then use the maximums on each axes. A=max(R1,R2), B=max(R1,R3) and C=max(R2,R3). But, first of all find the average (center) of all points and align it to origin.