|
 |
On 11/03/2023 23:44, Bald Eagle wrote:
> "yesbird" <nomail@nomail> wrote:
> I'm not sure how you reach that conclusion, since the function takes all of the
> randomly generated points and calculates the center point and radius of a single
> best-fitting sphere. It fits a sphere to the data, not the other way around.
Yes, exactly, but I mean something like this:
https://www2.latech.edu/~jkanno/packing.pdf
Please find fixed Matlab function in attachment.
Btw, there is a free version of ML, which supports original syntax:
https://octave.org
--
YB
Post a reply to this message
Attachments:
Download 'sphere_fit.m.txt' (1 KB)
Download 'test_sf.m.txt' (1 KB)
|
 |