LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

cubic spline fit

Solved!
Go to solution

Hi

 

I have a curve that I need to smoothen, and hence i decided to use the cubic fit, but I need all the original points of interest. When I tried the Cubic Spline Fit function in LV, I did get a smooth curve but it did not contain the initial points of interest.

 

I have read in literature that with Cubic splines a smooth curve can be fit on the original points, would like to know how this problem could be overcome.

 

The original curve adn the fitted curve are attached below

Download All
0 Kudos
Message 1 of 2
(5,068 Views)
Solution
Accepted by cquark

What you should be doing is interpolation instead of fitting.  Two ways to do this.

 

1. Use the Spline Interpolation VI

2. Set the smoothness to 1 for all points in Cubic Spline Fit 

0 Kudos
Message 2 of 2
(5,049 Views)