From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
06-01-2009 11:21 PM
X and Y both varies from 0 to 5 in 0.5 increments. I have values for each X and Y co-ordinates forming a matrix . The ouput is a three dimentinal bell shaped curve. I need to plot the curve as well as find average value of the curve. How can I do that in labview?
Thanks in advance.
06-01-2009 11:39 PM
hi,
Use XY graph from front panel to plot graph of x and y points. and i din't understand that if you have only x and y points how come you will get 3D output.
you need Z co-ordinates to plot 3D curve.
Best luck
Gaurav k
06-01-2009 11:54 PM - edited 06-01-2009 11:54 PM
Sum the array, divide by the total number of elements in the array.
06-02-2009 12:06 AM
ABM26 wrote:X and Y both varies from 0 to 5 in 0.5 increments. I have values for each X and Y co-ordinates forming a matrix . The ouput is a three dimentinal bell shaped curve. I need to plot the curve as well as find average value of the curve. How can I do that in labview?
Thanks in advance.
OK, so you have a 2D array of values and you are trying to fit ot to a symmetric 2D gaussian curve (like a "bell" :)). Are you trying to find the center of the curve (the 2D equivalent of the "average" of a 1D gaussian)? Simply fit it to a 2D gaussian with four parameters: x0, Y0, width, Amplitude.
Can you attach some typical data? What is your LabVIEw version?
06-02-2009 01:06 AM
06-02-2009 01:32 AM
06-02-2009 02:47 AM
06-02-2009 02:55 AM
06-02-2009 03:10 AM
I assume you want to fit the lower data set. I'll have a look at it tomorrow. (it's 1am here).
A simple example can also be found here. It's is somewhat prehistoric (pre 8.0) and thus had to deal with the severe shortcomings of the old nonlinear fit tools. All this can now easily be done with the 8.0+ nonlinear fit utilities.
Still, have a look at it, maybe it can give you some ideas. 😉
06-02-2009 03:19 AM