How do I generate points that match a histogram?

前端 未结 6 1510
迷失自我
迷失自我 2020-12-14 04:10

I am working on a simulation system. I will soon have experimental data (histograms) for the real-world distribution of values for several simulation inputs.

Whe

6条回答
  •  臣服心动
    2020-12-14 04:53

    To choose from a histogram (original or reduced), Walker's alias method is fast and simple.

提交回复
热议问题