12-26-2010 12:42 PM
how to write equations in LabView
The equation is c=(n1+n2+.....+nm)/m
where n1= data 1
m = total data
data++
and d= (c)^m
where n1= data 1
m = total data
data++
thanks 🙂
12-26-2010 04:37 PM
How does your data look like? Is "n" an array?
I assume that the end result is important, even if it's not a "written equation". 😉
The math...statistics palette has "mean.vi". The numeric palette has "add array elements" and "division". The array palette has "array size". The math..elementary palette has "power of X".
Mix and match. See how far you get. 😄
12-26-2010 08:21 PM
You might want to look at the express formula VI also. Here is a picture of the simple "context help" detailed help reveals how to "raise to the power"
(** instead of ^) for example. And all the other calculator like functions built in. Satrt up a blank VI and play with it.
Alan
12-27-2010 12:45 AM - edited 12-27-2010 12:46 AM