Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

NonLinearFit for matrix

Hi!

 

I would like to make a best sphere fit on a matrix of points. This is existing in LabView but I could not find it in Measurement Studio.

The LeastSquaresFit() method seems to do the fit only regarding to a plane.

I then found the NonLinearFit() function which I guess could have helped me.  But this one work only in one dimension: the input set of data is a vector and the description of the model function is a one dimensional function.

Could you help me with this?

Is there another way to make a spherical interpolation of a surface with CNiMath?

 

Thanks in advance for your help!

0 Kudos
Message 1 of 3
(6,300 Views)
Hi Alia,


opening the "Fitting on a Sphere.vi" in LabVIEW, you can see that it incorporates only a small amount of mathmatics to reduce the problem into a regular linear-equasion solving problem:

SphereFit.gif

So if the SpereFit is not directly available in Measurement Studio, why not D-I-Y? 🙂

Best regards,
Sebastian
0 Kudos
Message 2 of 3
(6,281 Views)

I don't have LabView and I don't know LabView.

Anyway thanks...

0 Kudos
Message 3 of 3
(6,279 Views)