problem in generating Halton Sequence

 採用された回答

Walter Roberson
Walter Roberson 2013 年 4 月 26 日

0 投票

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
Walter Roberson
Walter Roberson 2013 年 4 月 26 日
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.
sita
sita 2013 年 4 月 26 日
ok,Thanks for your quick response.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMatrix Indexing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by