image thumbnail

MATLAB Hammersley Sampling for Design of Experiments DOE

version 1.0 (45.4 KB) by mansour torabi
Hammersley Sampling method For Design of Experiments (DOE) has been implemented in MATLAB

38 Downloads

Updated 29 Jan 2021

From GitHub

View license on GitHub

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

Cite As

mansour torabi (2021). MATLAB Hammersley Sampling for Design of Experiments DOE (https://github.com/Mansourt/MATLAB_Hammersley_Sampling_for_Design_of_Experiments_DOE/releases/tag/v1.0), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2020b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
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.