sobol
sobol(n,d) returns a n x d matrix of quasi-random numbers, where n is the number of points and d is the number of dimensions.
sobol(n) is equivalent to sobol(n,n)
sobol(n) is equivalent to sobol(n,n)
Examples
>> sobol(4,2)# 0 0 0.5 0.5 0.75 0.25 0.25 0.75
>> sobol(2)# 0 0 0.5 0.5
>> x = sobol(1000,2) scatter(x(:,1),x(:,2),struct('markerSize',0.5)) [x:1000x2 double] [ans:1x1 struct] 0.141000s