Full factorial

版本 1.2.0.0 (864 字节) 作者: Bhaskar
It gives full factorial design matgrix of any levels(more than 2) of any variables (minimum 2)
1.4K 次下载
更新时间 2008/11/20

无许可证

This script is similar to fullfact, however instead of number of levels, value of levels are required as input
usage: des_mat = full_fact([-1 1],[100 200 300],[1:4]);

arguments: (input)
x1,x2, x3- variable levels either in row or column vector. These are
not number of levels but the levels itself

arguments: (output)
des_mat - mxn m= total number of designs (product of all levels) and
n is number of variables
The first column shows all the first variable levels, second
column shows second variable levels and so on.

Example usage:
x1=[-1 1];x2=[100:100:300];
des_mat = full_fact(x1,x2) % OR
des_mat = full_fact([-1 1],[100:100:300])
des_mat =
-1 100
-1 200
-1 300
1 100
1 200
1 300

引用格式

Bhaskar (2025). Full factorial (https://ww2.mathworks.cn/matlabcentral/fileexchange/22129-full-factorial), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R14SP3
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Industrial Statistics 的更多信息
致谢

启发作品: fullfac_2l(n_var)

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.2.0.0

modified tags

1.1.0.0

.

1.0.0.0