How to take haltonset numbers randomly

조회 수: 4 (최근 30일)
sita
sita 2013년 5월 7일
Hi, I would like to create generator takes input as halton set and gives numbers randomly from that.I think below code helps me to do the same.Please give me to use (example) below code.
haltonDesign = CreateDesign( inputs, 'Type',...
'Halton Sequence', 'Name', 'Halton' );
haltonDesign = Generate( haltonDesign, 'NumberOfPoints', 50 );
Thanking you, Sita.

답변 (1개)

Tom Lane
Tom Lane 2013년 5월 10일
I am not aware of a CreateDesign function. Where do you find it?
Perhaps you can generate a Halton set of the desired size, then generate random row numbers to index into it.
  댓글 수: 2
Walter Roberson
Walter Roberson 2013년 5월 10일
model = mbcmodel.CreateModel(appropriate parameters)
CreateDesign(model, appropriate parameters)
or
OperatingPointInputs = mbcmodel.modelinput(appropriate parameters)
OperatingPointDesign = CreateDesign(OperatingPointInputs);
There might be others.
Tom Lane
Tom Lane 2013년 5월 10일
Thanks. I'm not so familiar with the contents of the Model-Based Calibration Toolbox.

댓글을 달려면 로그인하십시오.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by