matlab中自带的sobol的函数提供的sobol序列

sobol 采样方法的matlab程序当然,matlab中还有其余的抽样类型:Construct Halton quasi-random point set、Latin hypercube sample、Construct Sobol quasi-random point set、Continuous uniform random numbersClass: haltonsetConstruct Halton quasi-random point set,,,,...) constructs a -d
摘要由CSDN通过智能技术生成
 1 clc;
 2 clear all;
 3 close all;
 4 M=9;% 维度,几个参数
 5 nPop=200;
 6 VarMin=[0.6,   0.10,  0.002,    0.02,    0.17,    0.0,   0.17,   0.0,  0.0];%各个参数下限
 7 VarMax=[2.0,   0.49,   0.05,    0.30,    2.6,     0.0,   1.30,   0.99, 5.0];%各个参数上限
 8 p = sobolset(M);
 9 % R=p(1:nPop,:);% 我只用前nPop个
10 R=[];
11 for i=1:nPop
12     r=p(i,:);
13     r=VarMin+r.*(VarMax-VarMin);
14     R=[R; r];
15 end
16 plot(R(:,1),'b*')

sobol 采样方法的matlab程序


当然,matlab中还有其余的抽样类型:

Construct Halton quasi-random point set、Latin hypercube sample、Construct Sobol quasi-random point set、Continuous uniform random numbers


haltonset

Class: haltonset

Construct Halton quasi-random point set

Syntax

p = haltonset(d)
p = haltonset(d,prop1,val1,prop2,val2,...)

   

Description

p = haltonset(d) constructs a d-dimensional point set p of the haltonset class, with default property settings.

p = haltonset(d,prop1,val1,prop2,val2,...) specifies property name/value pairs used to construct p.

The object p returned by haltonset encapsulates properties of a specified quasi-random sequence. The point set is finite, with a length determined by the Skip and Leap properties and by limits on the size of point set indices (maximum value of 253). Values of the point set are not generated and stored in memory until you access p

  • 6
    点赞
  • 14
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Sobol敏感性分析是一种常用的评估输入变量对输出变量影响程度的统计方法。它可以帮助我们了解输入变量对模型输出的贡献程度,进而在建模和优化过程做出合理的决策。 Sobol敏感性分析基于模型的输出,通过对输入变量进行随机抽样和组合,计算输出变量在不同输入变量组合下的方差,从而得到不同输入变量的总效应和相互作用效应。总效应表示某个输入变量对输出变量的贡献程度,相互作用效应表示两个或多个输入变量之间联合作用对输出变量的影响。 Sobol敏感性分析最常用的指标是Sobol指数,该指数可以分解为总效应索引和相互作用索引。总效应索引表示某个输入变量的直接贡献,相互作用索引表示两个或多个输入变量之间的联合作用贡献。 通过Sobol敏感性分析,我们可以识别出对输出变量影响最大的输入变量,并为模型输入做出重要性排序。这有助于我们合理分配资源,优化模型性能,减少不必要的成本和时间。 需要注意的是,Sobol敏感性分析基于随机抽样,结果受抽样数量和精度的影响。在进行Sobol敏感性分析时,我们要选择合适的抽样方法和样本数量,以保证分析结果的可靠性和准确性。 综上所述,Sobol敏感性分析是一种用于评估输入变量对输出变量影响程度的重要统计方法。通过该方法,我们可以识别关键的输入变量,优化模型性能,提高决策的精确性和可靠性。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值