# LabVIEW

cancel
Showing results for
Did you mean:

## Get points on curve

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

Message 1 of 3
(1,077 Views)

## Re: Get points on curve

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.

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
Message 2 of 3
(1,020 Views)

## Re: Get points on curve

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
What does "Engineering Redefined" mean??
Message 3 of 3
(1,004 Views)