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 Exchange에서 Matrix Indexing에 대해 자세히 알아보기

질문:

2013년 4월 26일

Community Treasure Hunt

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

Start Hunting!

Translated by