02-22-2010 12:10 PM
Hi,
I need to create a VI that plots an ellipse.attached is the problem detail and what i have done.
May I know how to apply that formula?use formula node or mathscript?
Can lead me to the solution.
Hope to hear from the replys ASAP due to deadline this coming friday.
Thanks
Vic
02-22-2010 12:13 PM
02-23-2010 01:15 AM
Totally agree with Dennis
Well, I give some hints.
Find a formula to translate from radian to xy plane, and sweep from 0-2pi to find xy.
02-23-2010 02:38 AM
02-23-2010 11:28 AM
Hi,
I will try out first then.thnx
Rgds,
Vic
02-23-2010 01:21 PM
You are of course welcome to ask any Labview related question in this matter, or any other matter.
02-25-2010 10:33 AM
Hi,
Can help me look at tis problem?
According to my question,it's required to be used the below equation.
r^2= A^2*B^2/(A^2*sin^2(ф)+B^2cos^2(ф)) inputs are A, B and r with 0 <= ф <= 2*pi
However I don't understand why the r is the input parameter.What if I wish to display the r result instead of controller but there will be wire connetion problem due to same type array.
Any suggestion?
Thnx!
Vic
02-25-2010 11:10 AM
A vast majority of people plotting ellispses are doing so for homework and the title of your VI is another hint. So some general remarks.
The cynic in me says the person assigning the problem knows more LV than math and was a little sloppy. The fiendish person inside me says trick question. The helpful person says that you should separate (in your mind) inputs to the VI from inputs to the plot (still sloppy wording).
Take standard ellipse centered at origin x^2/a^2 + y^2/b^2 = 1, convert to polar coords, should look familiar.
Hint: Useful functions to explore in Complex Number palette. Possible brownine points with instructor: Look at what datatypes you can plot directly with an XY graph.
02-25-2010 11:40 AM
Wikipedia have some inteeresting stuff on the elipse