02-13-2019 02:57 AM
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?
Solved! Go to Solution.
02-14-2019 07:34 AM
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.
μ {\displaystyle \mu } mu
Fina
Finally you can transform Z0 and/or Z1 to a general normal distribution with mu and sigma with
X = Z σ + μ {\displaystyle X=Z\sigma +\mu }
Regards,
Steffen
02-15-2019 07:19 AM - last edited on 01-08-2024 02:08 PM by migration-bot
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:
Best Regards,
NI Applications Engineering