The OP
Published on 2020-2-9 22:18
Only look at the author
This post is from Talking
Latest reply
Normal distribution model: in five steps
1. Define a range, such as 0-2000. Generate a random number Rx, and it can be assumed that the probability of Rx in the range of 0-2000 is balanced.
2. Construct a function, such as the normal function (Gaussian probability function), substitute x=Rx into the function y=f(x) to find the function value Ys, and use cP=Ys/Ymax (the maximum value of the Ymax function).
3. Generate a random number Ry between 0 and Ymax. Compare Ry with cP, if Ry>cP, discard it, if Ry<=cP, Ry is retained and displayed.
4. Repeat this process several times, and the ratio of the total number of cycles Nz to the effective number Ne is the probability that it roughly conforms to the normal distribution.
5. If you want to display it more vividly, you can use a circular pattern. The effective value Ry is the distance from the center of the circle. Rx is the angle of the circumference. Polar coordinates.
[attach]458288[/attach]
Details
Published on 2020-2-10 10:52
| ||
Personal signature
射频【放大器】 |
||
2
Published on 2020-2-10 08:09
Only look at the author
| |
|
|
|
3
Published on 2020-2-10 10:20
Only look at the author
This post is from Talking
| ||
|
||
|
4
Published on 2020-2-10 10:52
Only look at the author
This post is from Talking
| ||
|
||
|
| |
Personal signature
射频【放大器】 |
|
|
EEWorld Datasheet Technical Support
EEWorld
subscription
account
EEWorld
service
account
Automotive
development
circle
About Us Customer Service Contact Information Datasheet Sitemap LatestNews
Room 1530, Zhongguancun MOOC Times Building, Block B, 18 Zhongguancun Street, Haidian District, Beijing 100190, China Tel:(010)82350740 Postcode:100190