From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Normal Distribution

Solved!
Go to solution

Hello,

I'm trying to create channel with values of normal distribution defined only by μ(mean) and σ2(varience). I found only a tool to make normal distribution from data channel.

2013-02-15 08 09 14.png

Does anybody know how to create channel with values of normal distribution defined only by μ(mean) and σ2(varience) please?

0 Kudos
Message 1 of 3
(2,382 Views)

Hello,

 

maybe this will help:

https://en.wikipedia.org/wiki/Box%E2%80%93Muller_transform

 

It's a transformation of two (pseudo) random numbers U1, U2 of a uniform distribution (you can generate them with random()) into two numbers of a standard normal distribution Z0, Z1 with mu = 0 and sigma = 1.

 

Finally you can transform Z0 and/or Z1 to a general normal distribution with mu and sigma with

 

Regards,

     Steffen

0 Kudos
Message 2 of 3
(2,329 Views)
Solution
Accepted by pejsik

Hello Pejsik,

 

as described in wikipedia, the Gaussian function has the form of

 

f(x|mu,sigma^2)=1/sqrt(2*pi)/sigma*exp(-(x-mu)^2/sigma^2 resulting the bell curve.

 

https://en.wikipedia.org/wiki/Normal_distribution

 

This dataset with the required resolution can be generated either directly by a script in DIAdem, by LabVIEW or by Excel. In the latter case the Excel-table can be imported by the DataPlugin Wizard into DIAdem, and the data can be handled as channels:

 

https://www.ni.com/en/support/documentation/supplemental/12/using-the-text-and-excel-dataplugin-wiza...

 

Best Regards,

NI Applications Engineering

0 Kudos
Message 3 of 3
(2,310 Views)