https://es.mathworks.com/help/stats/rowexch.html
rowexch - Row exchange D-optimal design - MATLAB
This MATLAB function uses a row-exchange algorithm (see Algorithms) to generate a D-optimal design dRE with nruns runs (the rows of dRE) for a linear additive...
optimal designrowexchangematlab