10-30-2014 10:04 AM
Hi,
I want to calculate weigthed pressure mean ,weigthed mean value, Geomatric mean and standard deviation .
Can anyone help me.I am new to lab view
10-30-2014 10:07 AM
This isn't actually a LabVIEW question, it is more of a math question.
Once you know the math to calculate these things, then you can implement that math in LabVIEW code using many of the basic math primitives. For a normal mean and standard deviation, LabVIEW already includes functions to calculate them for you.
10-30-2014 10:10 AM
thanx for the answer i know it mathematically but i dnt know how to use them in labview thas why i posted the question
10-30-2014 10:26 AM
For standard deviation, there is ready-to-use function (hint: use quickdrop).
There is no pre-written weighted mean function as weighing is very specific..... but you can have an unweighted mean again ready-to-use.
Norbert
10-30-2014 02:34 PM
Weighted Average is typically just a simple multiplying of two arrays (the array of data and then the array of weights) and then summing the array (Add Array Elements will be useful here).
10-30-2014 06:31 PM - edited 10-30-2014 06:32 PM
@crossrulz wrote:
Weighted Average is typically just a simple multiplying of two arrays (the array of data and then the array of weights) and then summing the array (Add Array Elements will be useful here).
... if the array of weights is normalized so the elements add up to a sum of 1. Else you also need to divide by the sum of weights. (details)