LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Polynomial Plot

I am trying to make a VI that plots a polynomial graph from three sperate numerical controllers which hold the three coefficients of the polynomial. I cannot figure out how to have these three controllers combine into a polynomial equation and then have that equation graphed out on an XY-Plot.

0 Kudos
Message 1 of 2
(1,084 Views)

The solution involves several steps and you don't really tell us what the problem is. If you are unfamiliar with LabVIEW, I would recommend you start with some simple tutorials about the principles of graphical programming and the magic of dataflow.

 

Here's what I would do (in probably under a minute!)

 

  1. Create a ramp of x values using "ramp pattern"
  2. Build your three coefficients into an array (or even simpler, use an array control instead!)
  3. Wire the two inputs into "polynomial evaluation" (Or program the equation from first principles!).
  4. Combine x and y (e.g. make it a complex array with x=RE and y=IM) and wire to an xy graph.

 

0 Kudos
Message 2 of 2
(1,071 Views)