class="resources" Eval Polar to Rect (Not in Base Package) - LabVIEW 7.1 Help - Support - National Instruments
Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Eval Polar to Rect (Not in Base Package)

Calculates the values of a polar parametric curve in 2D. Details  Example

number of points is the number of all calculated points. The independent variable is split into equidistant subpoints. The default is 10.
start is the start point of the interval. The default is 0.0.
end is the end point of the interval. The default is 1.0.
radius as function of angle is a string representing the formula

r = r(phi).

X is the array of the values of the first component, r(phi)cos(phi).
Y is the array of the values of the second component, r(phi)sin(phi).
ticks is the time in milliseconds to analyze the formula and to produce the X and the Y array.
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

Eval Polar to Rect Details

Let be the angle and r() the radius in polar coordinate notation. Then it is:

x = r(phi)cos phi

y = r(phi)sin phi

where runs over the interval.

The function

r(t) = exp(cos(t)) – 2*cos(4*t) + sin(t/12)5

describes a butterfly curve in the plane in polar coordinates, as shown in the following illustration. The illustration can be generated by entering the following values on the front panel:

  • number of points: 1000
  • start: 0
  • end: 30
  • radius as function of angle: exp(cos(t))-2*cos(4*t)+sin(t/12)^5

Example

Refer to the Some Polar Parametric Plots VI in the labview\examples\math\math.llb directory for an example of using the Eval Polar to Rect VI.

 


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit