problem in generating Halton Sequence

 采纳的回答

Use "net" for that, as shown in the example at http://www.mathworks.com/help/stats/haltonset.html

3 个评论

sita
sita 2013-4-26
编辑:sita 2013-4-26
net helps taking values from set of generated values p = haltonset(1)it generates 2^53 values and net is to take values from that.I understood like this way.
Instead of generating 2^53.I would like to generate 100 points
No. The page says "Values of the point set are not generated and stored in memory until you access p using net or parenthesis indexing."
So net(p,100) would generate only as much as was needed to provide you with 100 points.
ok,Thanks for your quick response.

请先登录,再进行评论。

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by