LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Get points on curve

Highlighted

Hi all,

I have a set of points and am fitting a second degree polynomial in it using General Polynomial fit.vi, Regression Equation String.vi and Eval y=f(x) Optimal Step. vi as given in the example Regression Solver.vi.

Now, my problem is, I want all the points on the curve given the equation of the curve. By all points, I mean with all the pixels, similar to the VI 'GetPointsOnLine' which gives all the points on a line given its endpoints. Please help me.

 

Please see the regression solver example in C:\National Instruments\LabVIEW 2013\examples\Mathematics\Fitting\Regression Solver.vi

 

Thank you

 

0 Kudos
Message 1 of 3
(1,063 Views)
Highlighted

You really need to define your X values.  Once you have those, then you just plug those values into your formula and you should have your Y values.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 3
(1,006 Views)
Highlighted

Crea an x-ramp corresponding to your pixels and use polynomial evaluation to calculate the curve based on the polynomial coefficients.


LabVIEW Champion. It all comes together in GCentral GCentral
What does "Engineering Redefined" mean??
0 Kudos
Message 3 of 3
(990 Views)