LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to calculate standard deviation of a certain number of points?

Solved!
Go to solution

Hi, I have an application that I acquire force signals and pu then on a array.

I need to calculate the standard deviation and the mean each a certain number of points, 1000 for example.

I'm having problems with this, if you can help me I'd be thankful.

 

Thanks

Douglas

0 Kudos
Message 1 of 6
(6,857 Views)

If you have the Full Development version of LabVIEW, look into the Standard Deviation PtByPt VI.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 6
(6,855 Views)

You can also use Std Deviation and Variance.vi if you have the input as an array

-----

The best solution is the one you find it by yourself
Message 3 of 6
(6,847 Views)

Hey thank you, but it don't solve my problem.

I have a graph of force, generating 1000 points per second, for example, and I have to calculate the standard deviation for each 100 points, for example, and display it on a graph.

If I have an array of 50k points, the array of standard deviation should have 500 points.

I don't know if you could understand me, but any help would be great.

I attach the vi to help you visualize (don't mind the mess, I'm working on it).

 

Thank you

0 Kudos
Message 4 of 6
(6,801 Views)
Solution
Accepted by topic author Douglas_kilo

So you need something like this?


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 5 of 6
(6,796 Views)

Hey, thank you, I finally did it and it works perfectly!

 

Thank you so much!!!

0 Kudos
Message 6 of 6
(6,754 Views)