Hammersley Sampling method For Design of Experiments (DOE) has been implemented in MATLAB
https://github.com/Mansourt/MATLAB_Hammersley_Sampling_for_Design_of_Experiments_DOE
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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
Cite As
mansour torabi (2026). Hammersley Sampling for Design of Experiments DOE for MATLAB (https://github.com/Mansourt/MATLAB_Hammersley_Sampling_for_Design_of_Experiments_DOE/releases/tag/v1.0), GitHub. Retrieved .
General Information
- Version 1.0 (47.6 KB)
-
View License on GitHub
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0 |
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.

