cancel
Showing results for
Did you mean:

Solved!
Go to solution
Highlighted

Normal Distribution

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.

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

Message 1 of 3
(325 Views)

Re: Normal Distribution

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

Message 2 of 3
(272 Views)
Solution
Accepted by topic author pejsik

Re: Normal Distribution

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:

http://www.ni.com/tutorial/13789/en/

Best Regards,

NI Applications Engineering

Message 3 of 3
(253 Views)