dRE = rowexch(nfactors, nruns)
[dRE, X] = rowexch(nfactors, nruns, modelspec)
rowexch generates candidates with candgen and selects a D-optimal subset with candexch.
rng(5);
[dRE, X] = rowexch(2, 3, 'linear', 'Display', 'off', 'AvoidDuplicates', true);
dRE
X
rng(6);
bounds = [0 1; -1 1];
[dRE, X] = rowexch(2, 3, 'linear', 'Bounds', bounds, 'Display', 'off')