LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Variance and mean derivation in LabVIEW

I am trying to make a point by point derivation of the mean and variance of 10 rather large arrays of number, as a part of a school project. I would appreciate some help with programming a formula node set to do this task.
Any comments are appreciated 🙂

The VI is attached, with a blank formula node
0 Kudos
Message 1 of 3
(2,635 Views)
Do you need to use the formula node? Those functions already exist as Mean PtByPt.vi and Variance PtByPt.vi, provided you have a new enough and capable enough version of LabVIEW.
0 Kudos
Message 2 of 3
(2,600 Views)
I went into some detail about pt by pt mean calculation in this thread: http://forums.ni.com/ni/board/message?board.id=170&message.id=120308#M120308.

As DFGray pointed out, your best bet may be to go with the built in functions. But if you need to "show work" this may help.

Chris
0 Kudos
Message 3 of 3
(2,594 Views)