Skip to content

Hammersley Sampling method For Design of Experiments (DOE) has been implemented in MATLAB

Notifications You must be signed in to change notification settings

Mansourt/MATLAB_Hammersley_Sampling_for_Design_of_Experiments_DOE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

View MATLAB Hammersley Sampling for Design of Experiments DOE on File Exchange

Project

Hammersley Sampling Method utilized for Design Of Experiments (DOE)

Usage

Run EVAL_Hammersley.m file:

P = 300;   % No of samples in each dimensions
N = 10;    % No of dimensions 

H = Hammersley(P, N);

figure;
title('Hammersley Samples');
subplot(331); plot(H(1,:), H(2,:), 'r.'); 
xlabel('H1'); ylabel('H2');
subplot(332); plot(H(1,:), H(3,:), 'b.');
xlabel('H1'); ylabel('H3');
subplot(333); plot(H(1,:), H(4,:), 'm.');
xlabel('H1'); ylabel('H4');

subplot(334); plot(H(1,:), H(5,:), 'k.');
xlabel('H1'); ylabel('H5');
subplot(335); plot(H(1,:), H(6,:), 'g.');
xlabel('H1'); ylabel('H6');
subplot(336); plot(H(1,:), H(7,:), 'b.');
xlabel('H1'); ylabel('H7');

subplot(337); plot(H(1,:), H(8,:), 'c.');
xlabel('H1'); ylabel('H8');
subplot(338); plot(H(1,:), H(9,:), 'r.');
xlabel('H1'); ylabel('H9');
subplot(339); plot(H(1,:), H(10,:), 'm.');
xlabel('H1'); ylabel('H10');

suptitle('Hammersley Samples');

Output is as follows:

Contact

Email: smtoraabi@ymail.com

About

Hammersley Sampling method For Design of Experiments (DOE) has been implemented in MATLAB

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published