LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Chebychev Polynomial fitting results show multi lines

I am using "nonliear curve fit.vi" with defined Chebychev Polynomial  function to fit XY data.  Strangely, if I enlarge the upturn part, I clearly see the fitting results show multi-lines (2-4) . Please the the attached snapshot.

 

weitong

LV2013

Download All
0 Kudos
Message 1 of 3
(2,327 Views)

Can you please attach the actual VI?

-----

The best solution is the one you find it by yourself
0 Kudos
Message 2 of 3
(2,322 Views)

Thanks.

 

 I found the reason: the data X values are not mononicaly, i. e.  there are local oscillations at some region.

After sorting the raw data, the fitting results show single line. 

 

Is the sorting of X values necessary before Chebychev Polynomial fitting?

 

 

0 Kudos
Message 3 of 3
(2,295 Views)